Showing posts with label GIT. Show all posts
Showing posts with label GIT. Show all posts

April 25, 2018

How to update password in GIT using command line

As we know, using GIT through command line is one of the best way to handle repos. However, sometimes we faces issues when we update GIT password and command line does not take the updated password automatically.

To fix this issue, we can use the below commands:

For windows:

git config --global credential.helper wincred

For Mac
git config --global credential.helper osckeychain

Once execute above commands, run command that you want to execute, it will prompt for username and password again.

Hope it helps, let me know in case it does not work.