Skip to content

Instantly share code, notes, and snippets.

@jandaryl
Last active September 27, 2018 23:59
Show Gist options
  • Select an option

  • Save jandaryl/1e900f130df968b7cf2dafd5d98c2888 to your computer and use it in GitHub Desktop.

Select an option

Save jandaryl/1e900f130df968b7cf2dafd5d98c2888 to your computer and use it in GitHub Desktop.
Remember Your Git Credentials Forever

Tired of always having to type your login and password when executing git pull on your server? So do I.

Here's an helper command that will remember your credentials so you don't have to type anything than your pull command.

This is particularly helpful when you are using a deployment pipeline that will ssh onto your server and execute a git pull command.

Here's the magic helper:

git config credential.helper store

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment