有时间经常会忘记修改commit中的author就push,可以这样修改 git commit --amend --author='author<xxx@xxx.com>' 复制代码 转载于:https://juejin.im/post/5c43104d518825551e286dca