1234
1. git reset --soft HEAD^2. 編輯已回復的文件3. git add 已回復的文件4. git commit -c ORIG_HEAD 或者 git commit -m '提交記錄'
參考: http://stackoverflow.com/questions/927358/git-undo-last-commit