pycharm提交commit时git报错:please tell me who you are

一、错误

pycharm同步代码,提交commit时git报错: commit failed with error   please tell me who you are

 二、原因

第一次提交,或者长时间未提交代码,需要对git设置账户信息

三、步骤

1.pacharm 中打开terminal运行环境

执行

git config –global user.name “你的用户名”
git config –global user.email “你的邮箱地址”
设置用户名和邮箱地址

 2.检查git

执行

git config –global –list

检查用户名和邮箱地址是否成功正确

 四、提交

账户信息添加完成,重新commit,成功

原文链接:pycharm提交commit时git报错:please tell me who you are-

© 版权声明
THE END
喜欢就支持一下吧
点赞10 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容