idea git提交时候提示 --author 'java_suisui' is not 'Name ' and matches no existing author

今天使用idea修改git项目的作者信息,提交时遇到错误:

0 files committed, 1 file failed to commit: test --author 'java_suisui' is not 'Name  ' and matches no existing author

解决方案:需要在该项目的.git/config 文件中添加下面配置即可:

[user]
    name = java_suisui
    email = xxx@163.com
原文地址:https://www.cnblogs.com/haha12/p/10761717.html