美文网首页
Git 提交问题

Git 提交问题

作者: 菜鸟考官 | 来源:发表于2018-07-14 11:35 被阅读0次

Successfully created project 'Starcloud' on Gitee, but initial commit failed: *** 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 'win 10@Win10.(none)') during executing git "d:\Program Files\Git\cmd\git.exe" -c core.quotepath=false -c log.showSignature=false commit -m "Initial commit" --

因为没有设置你的邮箱和名字

找到Git安装目录 打开 git-bash.exe 运行以下两句命令

git config --global user.email "you mail"

git config --global user.name "you name"

相关文章

网友评论

      本文标题:Git 提交问题

      本文链接:https://www.haomeiwen.com/subject/vdaepftx.html