
$ git init$ git log$ git checkout -b [BRANCH]$ git merge [BRANCH]$ git branch -d [BRANCH]$ git branch -m [OLD_BRANCH] [NEW_BRANCH]$ git commit --amend$ git reset --hard HEAD~$ git reset --hard [COMMIT]-v : 단축 이름 + URL$ git remote$ git remote add origin [경로]$ git remote update$ git remote remove origin$ git push origin [BRANCH]$ git checkout -t [git branch -r 했을때 가져올 BRANCH]-l: 로컬 브랜치 목록 (생략 가능 git branch)-a: 로컬 + 원격 브랜치 목록-r: 원격 브랜치 목록$ git branch$ git push origin --delete [BRANCH]