执行git commit命令提示: “Please tell me who you are”的解决方案

--- ### #事故现场 执行git commit命令提示:**"Please tell me who you are"** ![在这里插入图片描述](https://img-blog.csdnimg.cn/20200622152212540.png) 意思是,Git想知道提交代码的是谁,造成这个现象的原因可能是第一次提交代码,也有可能是长时间不操作,需要重新验证下。 ### #解决方案 在Git控制台输入一下命令 ```bash git config --global user.email "邮箱" git config --global user.name "用户名" ``` 再次执行git commit ,正常无误。 ---
posted @ 2020-06-22 15:36  willingtolove  阅读(2223)  评论(0编辑  收藏  举报