TortoiseGit save user authentication / credentials

Murali Murugesan picture Murali Murugesan · Dec 22, 2012 · Viewed 249.1k times · Source

Is there a way to save GITHUB's user credentials with TortoiseGit?

It prompts me the below dialog every time whenever I do a push/pull.

I would like to save my user credential information somewhere like how I did with TortoiseSVN.

enter image description here

Answer

linquize picture linquize · Mar 12, 2013

For TortoiseGit 1.8.1.2 or later, there is a GUI to switch on/off credential helper.

It supports git-credential-wincred and git-credential-winstore.

TortoiseGit 1.8.16 add support for git-credential-manager (Git Credential Manager, the successor of git-credential-winstore)

For the first time you sync you are asked for user and password, you enter them and they will be saved to Windows credential store. It won't ask for user or password the next time you sync.

To use: Right click → TortoiseGit → Settings → Git → Credential. Select Credential helper: wincred - this repository only / wincred - current Windows user

enter image description here