我是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
Run Code Online (Sandbox Code Playgroud)
我正在使用不同的PC,但是如果我在家里提交它会完美地提交和推送,我不知道这是否是导致问题的原因.
我已经搜索过,其他人说要编辑.git/config文件,但我找不到这个文件.
我错过了什么?