git rebase -i xxx
pick xxxx
修改为 edit xxxx
git commit --amend
修改提交记录
git rebase --continue
搞定,重新push
Git: 修改提交记录
最新推荐文章于 2024-08-30 07:31:19 发布

git rebase -i xxx
pick xxxx
修改为 edit xxxx
git commit --amend
修改提交记录
git rebase --continue
搞定,重新push