<code> $ git config --global user.name 'xxxxx' $ git config --global user.email 'xxxxxx' </code>
<code> $ git config --global user.name 'xxxxx' $ git config --global user.email 'xxxxxx' </code>
Delete your current local repository and git clone
again. Remember to use SSH
.
For example, git clone git@github.com:HmyBmny/hmybmny.github.io.git
, so that you can use SSH
.
The account authorization information used to configure in git is mainly controlled by the helper
node of the credential
configuration item.
You can configure the saved account password through the following command
<code>git config --global credential.helper store</code>
You can also modify the configuration file directly in the user directory
<code>[credential] helper=store</code>