Git修改已经提交日志内容命令
git log -10 --oneline (查看最近10次提交日志 --oneline在同一行显示)
git rebase -i HEAD^^ (修改最近两次提交日志) -> Pick 改为 edit -> git rebae --continue
git commit --amend(修改最后一次提交日志)
Git修改已经提交日志内容命令
git log -10 --oneline (查看最近10次提交日志 --oneline在同一行显示)
git rebase -i HEAD^^ (修改最近两次提交日志) -> Pick 改为 edit -> git rebae --continue
git commit --amend(修改最后一次提交日志)