我已经对 git 进行了一些更改。现在我想更改提交文本。有没有可能做到这一点?我正在使用 eclipse git 和 git 乌龟
最佳答案
您可以使用 git commit --amend -m "message"或者可以这样做,这是相当等效的:
$ git reset --soft HEAD
$ ... do something else to come up with the right tree ...
$ git commit -c ORIG_HEAD
关于git - 如何在 git 中重新提交,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35173077/