如打错字可以先打入
git reset --soft HEAD^(会把前一次 add 过的内容,保留在 Changes to be committed 区块)
打完上方指令后再继续重新commit
参考:
https://zlargon.gitbooks.io/git-tutorial/content/patch/amend.html
如打错字可以先打入
git reset --soft HEAD^(会把前一次 add 过的内容,保留在 Changes to be committed 区块)
打完上方指令后再继续重新commit
参考:
https://zlargon.gitbooks.io/git-tutorial/content/patch/amend.html