首页 > 技术文章 > 关于git上传文件的一个小问题

QW-lzm 2018-10-27 11:01 原文

*** 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.

 

解决:

  在.git文件夹执行

  

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

 

或全局配置

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

 

推荐阅读