我有一些本地提交,並且在主服務器上進行了更改。所以我做了一個:撤銷已經推送並重做合併的git合併
git pull // it automatically merged and had a conflict with one file only.
subl <file> // Made the wrong fix and saved it
git commit // It opened nano and I Typed "fixed merge" saved it
git push master origin
我該如何回到拉和重做合併和推?特別是在合併之前回到正確的位置。
的可能的複製[如何恢復已經推送到遠程分支的合併提交?](http://stackoverflow.com/questions/7099833/how-to-revert-a-merge-commit-thats-already-pushed-to-remote-branch) – 1615903
關於undoin有更詳細的說明g在這裏合併:[撤銷合併](https://git-scm.com/blog/2010/03/02/undoing-merges.html) – 108