Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trying to understand wincred with git for windows - confused

Tags:

git

github

While following a git tutorial, I've made my first push over https today to a remote on git hub, the tutorial mentions the following command to avoid having to keep typing in password details:

git config --global credential.helper wincred 

My question is how is this working as a concept? it is the first time I have come across a credential helper. I'm not sure how it works with Windows and Git, where is it being stored and how does it authenticate when I push or pull?

I've tried to search for this online but haven't found any information that explains this in a simple way for someone who is a beginner.

like image 487
j obe Avatar asked Jul 12 '16 15:07

j obe


People also ask

How do I access Wincred?

Click on "Start" then type "Cred" and go to the Windows Credential Manager. Then click on "Windows Credentials."

How do I change my git username and password in Windows?

Go to Control Panel > User Accounts > Credential Manager > Windows Credentials. You will see Git credentials in the list (e.g. git:https://). Click on it, update the password, and execute git pull/push command from your Git bash and it won't throw any more error messages.

How do I authenticate git in Windows?

Go to Windows Credentials -> Generic Credentials. Here your credential should be listed if everything is working correctly. Git should add it by default the first time you log in to a new repository.


1 Answers

If you use wincred for credential.helper, git is using the standard windows Credential Manager to store your credentials.

You can view the Credential Manager from your Control Panel settings.

enter image description here

like image 57
Gauthaman Sahadevan Avatar answered Oct 05 '22 06:10

Gauthaman Sahadevan