Sourcetree switches git login users. Before submitting the remote service in sourcetree, the account of the colleague was used. After the colleague left, the account was also cancelled, and then it could not be submitted. You need to modify the account, change the computer, and sourcetree saves the login information of the original user. After updating the user information in the options, the push code finds that the author information is still the original. It didn’t take effect.
- Software name:
- Git client (sourcetree) v3.2.6 free installation
- Software size:
- Update time:
- 2019-11-18Download now
terms of settlement:
Click and input
Edit according to VI. preservation.
2. Find the user’s home directory, that is, windows, which is the current user
Find. Gitconfig, open it, edit and save it.
Source tree to change an address account
Background: gitlab.com adopt bitbucket.org The password cannot be found
gitlab.com Project input password error, rogue in gitlab.com Re register your account
Through sourcetree https://gitlab.com/xxx/xxx.git Authorization failed to log in,,,, at HTTPS: / / [new user name + @] gitlab.com/xxx/xxx . git: for example: https://[email protected]/xxx.xxx.git You can switch users, and mail may not support it
Source tree push code to enter the user name and password of the warehouse creator
If you input the wrong user name and password for the first time, you will always input the user name for the first time in the future.
The method of clearing is shown in the figure above. Select the user name you have entered and click delete.
Sourcetree submit modify user
Before, the remote service was submitted in sourcetree with the account of the colleague. After the colleague left, the account was also cancelled, and then it could not be submitted. You need to modify the account number. Here are the methods:
Click “preferences” to enter the following interface:
Click “network” and then click “Edit”.