Updating GIT credentials in Command Line

08-05-2020

If you’ve seen an ‘Authentication failed for https://____.git error, here’s a quick command to update your credentials through the command line.

For Mac:

1
git config --global credential.helper osxkeychain

For Windows:

1
git config --global credential.helper wincred

You should then see a prompt for username/ password, enter your new credentials here.