美文网首页Git
Git reset commit message after p

Git reset commit message after p

作者: JaedenKil | 来源:发表于2018-01-19 15:30 被阅读7次

It's easy to just amend a git commit message:

git commit --amend

If the commit is pushed to a remote repository already:

git commit --amend
git push --force-with-lease <repository_name> <branch_name>

相关文章

网友评论

    本文标题:Git reset commit message after p

    本文链接:https://www.haomeiwen.com/subject/cjoooxtx.html