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,成功

来源链接:https://www.cnblogs.com/xiaoguan-bky/p/18965870

© 版权声明
THE END
支持一下吧
点赞11 分享
评论 抢沙发
头像
请文明发言!
提交
头像

昵称

取消
昵称表情代码快捷回复

    暂无评论内容