git config --global user.name <사용자 명>
git config --global user.email <이메일 주소>
git config user.name <사용자 명>
git config user.email <이메일 주소>
git config --global --list
git config --list
git init
git clone <저장소 URL>
git clone <저장소 URL> .
git status
git add <파일 명>
git add .
git add -A
git add -p
git add -i
git branch
git branch -r
git branch -a
git branch <브랜치 명>
git checkout <브랜치 명>
git checkout -b <브랜치 명>
git switch <브랜치 명>
git switch -c <브랜치 명>
git commit -m <설명>
git commit -m <설명> -a
git remote -v
git remote add <원격 저장소 명> <저장소 URL>
git remote rm <원격 저장소 명>
git remote rename <원격 저장소 명> <바꿀 이름>
git push <원격 저장소 명> <브랜치 명>
git pull <원격 저장소 명> <브랜치 명>
git pull <원격 저장소 명> <브랜치 명> --allow-unrelated-histories
git fetch <원격 저장소 명>
git reset <옵션> <돌아가고싶은 커밋>
git reset HEAD~3 (현재부터 3개 이전 이력으로)
git revert <되돌릴 커밋1, 되돌릴 커밋2...>
git merge <브랜치 명>
git merge --no-commit <브랜치 명>
git cherry-pick <커밋 명>
git cherry-pick -n <커밋 명>
git log
git log --oneline
git diff