Thursday, January 21, 2021

Git credential storage

Git credential storage

We can use git config to enable git credential storage in git

Run the following command

git config --global credential.helper store

After this when we do pull or push it will ask for username / password and when you enter it, it will store the credential inside flat file .git-credentials.

Next time when you perform pull or push it will not ask for credentials.

Labels: , , ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home