github添加文件错误

来源:互联网 发布:excel复制整列数据 编辑:程序博客网 时间:2024/06/03 16:37

第一次使用github,忘了配置时,会出现如下错误:


unable to auto-detect email address (got 'Arreane@Arreane-PC.(none)')

*** 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 config --global user.email "you@example.com"git config --global user.name "Your Name"


1 0
原创粉丝点击