git 修改 commit message
git 修改 commit message
自己的项目可以随便折腾,修改前 push > github
if (团队项目) {
return
}
1. 修改最新 commit 的 message
git commit --amend

2. 修改老旧 commit 的 message
git rebase -i (待变更 commit 的 FATHER)

git 修改 commit message
if (团队项目) {
return
}
git commit --amend

git rebase -i (待变更 commit 的 FATHER)
