我在提交消息中写了错误的东西.或者,我忘了包含一些文件.
如何更改提交消息/文件?提交尚未被推送.
git git-amend git-commit git-rewrite-history
我需要在BitBucket中更改旧的git commit消息.我尝试git rebase -i并重新编写了我的消息,但是当我拉动并提交它时,它只保留了BitBucket中的旧消息并合并了我的更改.
git rebase -i
git bitbucket
git ×2
bitbucket ×1
git-amend ×1
git-commit ×1
git-rewrite-history ×1