我是在执行 git commit -m “------” 指令提交代码时出现了如下情况
*** 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 'jinshu@DESKTOP-L5OTKGN.(none)')
解决办法
依次执行以下指令就可以了
git config --global user.email “你的邮箱”
git config --global user.name “用户名”