TOOL/VCS 2016. 2. 18. 14:30

///// Git (깃)


How to remove latest commit at remote repository




///// 원격저장소의 마지막 커밋 지우기

-  in case of master branch (마스터 브랜치의 경우)

git push origin +HEAD^:master



- other way (다른 방법)

git reset --hard HEAD^

git push -f




///// 참고

Remove last commit from remote git repository:

http://stackoverflow.com/questions/8225125/remove-last-commit-from-remote-git-repository


Git 상황별 명령어 tips:

http://www.letmecompile.com/git-%EC%83%81%ED%99%A9%EB%B3%84-%EB%AA%85%EB%A0%B9%EC%96%B4-tips/



Git 간편 안내서

http://rogerdudler.github.io/git-guide/index.ko.html