Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to reset credentials in TortoiseGit? [duplicate]

This question is specifically about the TortoiseGit Windows client. I have a computer that I no longer use which must now be transferred to another programmer without formatting.

Strangely enough, I can't seem to reset TortoiseGit credentials on this machine. There is apparently no credential helper set in the global settings. In fact, the Windows Credential Manager Service on this machine seems to be permanently disabled. I've changed all the local and global configuration settings to avoid mentioning my Git username at all, but still I can push commits from this machine to all my GitHub remotes.

There are some stack overflow questions about setting and saving credentials. I want the exact opposite.

I don't even remember trying to save credentials in this particular computer ever, which is something I rarely do anyway, and I used this computer very little.

like image 284
glopes Avatar asked Aug 03 '16 02:08

glopes


People also ask

How do I change my username on TortoiseGit?

Setting the user name and email in TortoiseGit is easy. Right-click anywhere in Explorer and choose TortoiseGit → Settings. In the Settings dialog, choose Git. Type in your username and email and click Apply.

How do I clear my credential cache in Git?

You could also disable the use of the Git credential cache using git config --global --unset credential. helper. Then reset this, and you would continue to have the cached credentials available for other repositories (if any). You may also need to do git config --system --unset credential.

How do I change my Git clone password?

git push) and enter your username. For the password you need to generate a Personal Access Token. Go to https://github.com/settings/profile select the Developer Settings on the right. Select Personal Access Token Generate new token .


2 Answers

Go to Credential Manager> Windows Credential in the system, there we can update the password.

like image 28
Muddesir Ahmed Avatar answered Oct 22 '22 06:10

Muddesir Ahmed


go to \Control Panel\User Accounts\Credential Manager click on windows credentials and edit the corresponding credentials

like image 130
Pieter Maes Avatar answered Oct 22 '22 06:10

Pieter Maes