How to delete git account
我想大声告诉你
我想大声告诉你 2017-05-02 09:33:03
0
5
1557

Use SourceTree client, https method to clone the project. When filling in the account password, I chose to remember the password.

Now that I want to use a new account, I need to delete the old git account (the old account was kicked out of the project team), because the system has always defaulted to using the old account to connect to git, and it keeps reporting insufficient permissions.

I have tried reinstalling git and SourceTree clients, but the old account is still not cleared.

Everything I found on the Internet uses the ssh method to switch between multiple accounts, but I use the https method, and there is no ./ssh folder. So the old account will naturally not be in the ./ssh folder.

The operating system is win10.

I also tried deleting all the AppDataLocalAtlassianSourceTree folders, but it didn’t work!

The current temporary solution is to bring the username and password when cloning the warehouse. The disadvantage is that the password is displayed in plain text

http://yourname:password@git.oschina.net/name/project.git

我想大声告诉你
我想大声告诉你

reply all(5)
左手右手慢动作

win10 is saved in user credentials
Control Panel » User Accounts » Manage your credentials
Select [Windows Credentials]
The user information saved by git is in the general credentials list

滿天的星座

Change the directory and clone the project again with a new account?

淡淡烟草味

I have never used SourceTree, but this client should have saved the password. Baidu found this, you can try it:

http://m.blog.csdn.net/article/details?id=47007471

滿天的星座

If it is a Mac, it will be recorded in the Mac keychain

黄舟

My computer is also win10, and it is recorded in the credential manager!
Control Panel All Control Panel Items Credential Manager
The Windows credentials below can be used to find the username and password recorded by sourceTree, just delete it!

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