我输入 git config --global user.email "我的邮箱"
git config --global user.name "姓名"
之后,commit还是提示这个,这个邮箱和姓名是之前注册过的,还是随便输入,我刚配置好git,没发现哪里有注册过啊,小白求教
怪我咯2017-05-02 09:24:27
Obviously, your Config was not configured successfully.
Email addresses can be reused.
漂亮男人2017-05-02 09:24:27
Install TortoiseGit
TortoiseGit installation is complete. Right-click on an empty space on the desktop, and the TortoiseGit shortcut key will be added to the right-click menu
Select "Settings", enter the "Settings-TortoiseGit" interface, select the "General" tab, set the git path of this machine, and select the language as Simplified Chinese;
Select the "Network" tab and set the SSH path. SSH is installed by default when installing Git;
Select the "Git" tab and set the username, email and key. If you are using it locally temporarily, you only need to add your username and email address, and the "Signing key" will be automatically generated.
Add username and email here
巴扎黑2017-05-02 09:24:27
In the git bash command line, add:
git config --global user.email "your email"
git config --global user.name "your name"
Note: email and name are whatever
Or look at the picture
大家讲道理2017-05-02 09:24:27
After I used git config --global user.name "..." and git config --global user.email "*", my Xcode-beta still cannot be committed, but I put config in the .git folder Added
[user]
name = **
email = **@qq.com
After , the commit does not report an identity confirmation error. Why is this? Are the global names and emails set useless?