问题如下:*** Please tell me who you are.
Run
git config --global user.email "[email protected]"
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 = [email protected]
name = yourname
时间: 2024-11-07 15:08:55