-
Notifications
You must be signed in to change notification settings - Fork 140
Open
Labels
技术文章技术文章技术文章
Description
怎么修改git commit 信息
- git commit --amend 本地
- git commit --amend
git push origin master --force 刚push - git rebase -i HEAD~X X is the number of commits to go back
Move to the line of your commit, change pick into edit,
then change your commit message:
git commit --amend
Finish the rebase with:
git rebase --continue 本地没push old
Metadata
Metadata
Assignees
Labels
技术文章技术文章技术文章