我是靠谱客的博主 笑点低裙子,这篇文章主要介绍github提交时,git config --global要加双引号,现在分享给大家,希望可以做个参考。

 

 

在github提交代码的时候出现了这个问题:

*** Please tell me who you are.


Run


  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"


to set your account's default identity.
Omit --global to set the identity only in this repository.


fatal: unable to auto-detect email address (got 'chenxiao@LAPTOP-S9MH6P88.(none)')

解决方法很简单,只需在当前输入下面两句命令,把引号里的改成自己的邮箱和账号就OK了

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"
 

双引号一定要有

我的是

  git config --global user.email "tianyahechu2004@163.com"
  git config --global user.name "tianyahechy"

 

最后

以上就是笑点低裙子最近收集整理的关于github提交时,git config --global要加双引号的全部内容,更多相关github提交时,git内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(119)

评论列表共有 0 条评论

立即
投稿
返回
顶部