详见 1、https://www.jianshu.com/p/f7ed3dd0d2d8 2、https://www.jianshu.com/p/098d85a58bf1 3、http://zhenhappy.github.io/2015/10/21/Git/git-commit--amend/