Post

Git 시작하기

Git 시작하기

repository 연결

1
2
3
4
git init
git remote rm origin 
git remote add origin "주소 입력"
git pull origin main




commit 하기

1
2
3
git add .             
git commit -m "commit message"  
git push -u origin main # git push origin main 

*-u 사용 시 이후 git push만 입력 가능

This post is licensed under CC BY 4.0 by the author.