git reset HEAD^
git reset HEAD@{number}
(또는)
git reset [commit id]
git reflog
/ git log -g
를 통해 HEAD@{number} 알 수 있음git commit -m "[커밋내용]"
git push [원격저장소이름] [브랜치명] -f //기본 원격저장소 이름 origin (변경 O)
(또는)
git push [원격저장소이름] +[브랜치명] //+ 옵션 : 해당 branch를 강제로 push