Github Repostiory 생성 시 init 과정

Donghyun Kim·2022년 8월 30일
0

…or create a new repository on the command line

echo "# jenkins-test" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/dhkim1522/jenkins-test.git
git push -u origin main

…or push an existing repository from the command line

git remote add origin https://github.com/dhkim1522/jenkins-test.git
git branch -M main
git push -u origin main
profile
"Hello World"

0개의 댓글