
git config --global user.name <사용자 명>
git config --global user.email <이메일 주소>git config user.name <사용자 명>
git config user.email <이메일 주소>git config --global --listgit config --listgit initgit clone <저장소 URL>git clone <저장소 URL> .git statusgit add <파일 명>git add .git add -Agit add -pgit add -igit branchgit branch -rgit branch -agit branch <브랜치 명>git checkout <브랜치 명>git checkout -b <브랜치 명>git switch <브랜치 명>git switch -c <브랜치 명>git commit -m <설명>git commit -m <설명> -agit remote -vgit remote add <원격 저장소 명> <저장소 URL>git remote rm <원격 저장소 명>git remote rename <원격 저장소 명> <바꿀 이름>git push <원격 저장소 명> <브랜치 명>git pull <원격 저장소 명> <브랜치 명>git pull <원격 저장소 명> <브랜치 명> --allow-unrelated-historiesgit 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 loggit log --onelinegit diff