Skip to content

Instantly share code, notes, and snippets.

@Hazem-Ben-Khalfallah
Created May 17, 2019 10:17
Show Gist options
  • Save Hazem-Ben-Khalfallah/eb380c5011039efb56708b87a120f3b6 to your computer and use it in GitHub Desktop.
Save Hazem-Ben-Khalfallah/eb380c5011039efb56708b87a120f3b6 to your computer and use it in GitHub Desktop.
[Save git credentials] I want to use a push and pull automatically without entering my user and password in a prompt, every time. #git
# run
git config credential.helper store
#then
git pull
# user credentials will be saved in ~/.git-credentials in PLAIN text
# if user credentials are changed in the future, simply execute
git pull
# and provide a new password and it will work like before.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment