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
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?
-m
Please add a space afterObviously, 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
to the file After[user]
, 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