프로그래밍_기타/git
github에 연동
wjwkddyd221001
2022. 10. 11. 18:43
비어 있는 github에 push하기
1. git init
2. git add (파일명)
3. git commit -am (버전명)
4. git remote add origin (깃허브주소)
4-1.git remote -v : 현재 remote 저장소 주소 출력
4-2.git remote remove origin : 현재 remote 저장소 주소 삭제
5. git push -u origin master
5-1. username : 저장소 이름
5-2. password : setting > developer settings > Personal access tokens
github에서 가져오기
1. git clone
2. (수정작업 후) git push
3. git pull