git init
git remote add origin [저장소주소]
git branch --set-upstream-to=origin/master master
git pull
- 이때 저장소 주소를 https://[ID]@github.com/~ 형식으로 사용하면 푸시할때 매번 Username을 물어보지 않는다.
git config --global user.name "이름"
git config --global user.email 이메일주소
git rebase -i HEAD~4
# 수정 하고자 하는 것 edit로 바꾸기
git commit --amend
# Author 를 바꾸고자 한다면
git commit --amend --author="jongpak <[email protected]>"
# 그이후에 아래 명령어로 계속 나아가면 됨
git rebase --continue