我是SmartGit的新手。我无法通过我的存储库进行提交,我收到的消息是:
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
文件,但是我找不到这个文件。
我错过了什么吗?