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,成功
来源:程序园用户自行投稿发布,如果侵权,请联系站长删除
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!
页:
[1]