!!!!! 반드시 백업하고 진행할 것!!!!! $ git log -1 # 위를 입력해 되돌아갈 최근 커밋을 적어놓는다 . $ git checkout master # reset your branch head to your previously detached commit $ git reset --hard #처음에 적은 커밋 아이디를 commit-id 위치에 입력한다. -나의 경우 commit을 되돌리니 전부 초기화 되었으나 더이상 Everything-up-to-date는 나타나지 않았다. 참고 :stackoverflow.com/questions/999907/git-push-says-everything-up-to-date-even-though-i-have-local-changes