问题如下:
*** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name"

解决办法:
进入本地项目路径下,找到.git ,进入后找到 config.
打开终端,进入自己的项目下,有个.git目录
cd  ~/MyPro/.git
vi  config
 
 
[core]
           repositoryformatversion = 0
           filemode = true
           bare = false
           logallrefupdates = true
           ignorecase = true

    precomposeunicode = true

 [user]
 #添加以下两行:
     email = yourname@me.com
      name = yourname
 

相关文章:

  • 2022-01-14
  • 2021-06-29
  • 2021-04-09
  • 2021-06-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-01
  • 2022-12-23
  • 2021-07-15
  • 2022-01-18
  • 2021-12-10
  • 2021-11-06
  • 2021-08-29
相关资源
相似解决方案