git提示unable to auto-detect email address
PHP中文网
PHP中文网 2017-05-02 09:22:27
0
6
798


我输入 git config --global user.email "我的邮箱"
git config --global user.name "姓名"
之后,commit还是提示这个,这个邮箱和姓名是之前注册过的,还是随便输入,我刚配置好git,没发现哪里有注册过啊,小白求教

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(6)
巴扎黑

-mPlease add a space after

刘奇

Obviously, your Config was not configured successfully.
Email addresses can be reused.

漂亮男人

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

巴扎黑

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

大家讲道理

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]

to the file
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?

淡淡烟草味

Leave a space before the quotation marks

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template