1. error
2. The reason git two unsuccessful switching accounts
The method of switching accounts
1. View the current login account:
git config user.name
2. Check the currently logged-mail:
git config user.email
3. Modify the user name and E-mail:
git config --global user.name "Your_username"
git config --global user.email "Your_email"
Note that there are spaces
1. View the current login account:
git config user.name
2. Check the currently logged-mail:
git config user.email
3. Modify the user name and E-mail:
git config --global user.name "Your_username"
git config --global user.email "Your_email"