git提交覆盖上一次提交记录和注释

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_34173549/article/details/88173682

本地覆盖记录

git commit --amend -m "Add an author/email comment"

线上覆盖提交

git push origin 分支名称:分支名称 -f

猜你喜欢

转载自blog.csdn.net/qq_34173549/article/details/88173682