首页 > 技术文章 > idea git提交时候提示 --author 'java_suisui' is not 'Name ' and matches no existing author

haha12 2019-04-24 12:42 原文

今天使用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

 

推荐阅读