Git修改最后一次提交的commit message
获取log
git rflog
c980337 HEAD@{0}: commit: feat(MainActivity):optimize the UI of city selection
e7e73e5 HEAD@{1}: commit: fix(MainActivity):change the way to impl city selectionq
重新编辑commit信息
git commit --amend -c HEAD
i
编辑
esc
:wq
force 推送 (慎用)
git push -f