Skip to content

Instantly share code, notes, and snippets.

@itsfreddyrb
Last active April 13, 2020 03:48
Show Gist options
  • Save itsfreddyrb/adeae482415b44338aaa60b7bb56bbfd to your computer and use it in GitHub Desktop.
Save itsfreddyrb/adeae482415b44338aaa60b7bb56bbfd to your computer and use it in GitHub Desktop.
Cache github credentials
git config --global credential.helper cache -timeout=3600
//Store username and password persistent
/*
Run git pull if you want to change the password later, after changing the password on github we run git pull or some other command and the user will fail, run the command again.
*/
git config --global credential.helper store
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment