Skip to content

Instantly share code, notes, and snippets.

@linkarys
Created November 29, 2013 04:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linkarys/7701690 to your computer and use it in GitHub Desktop.
Save linkarys/7701690 to your computer and use it in GitHub Desktop.
git-cheatsheet
# store credentials
#keep your password cached in memory for (by default) 15 minutes.
git config --global credential.helper cache
# set a longer timeout
git config --global credential.helper "cache --timeout=3600"
#another way
git config remote.origin.url https://you:password@github.com/you/example.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment