Skip to content

Instantly share code, notes, and snippets.

@Walkman100
Last active August 29, 2015 14:08
Show Gist options
  • Save Walkman100/a460105933b745d43666 to your computer and use it in GitHub Desktop.
Save Walkman100/a460105933b745d43666 to your computer and use it in GitHub Desktop.
Caching credentials for command line
Following commands at https://help.github.com/articles/caching-your-github-password-in-git/#platform-all
========================================================================================================
C:\Users\Matthew\Documents\GitHub>git config --global credential.helper cache
C:\Users\Matthew\Documents\GitHub>git config --global credential.helper 'cache --timeout=9999999999999999'
C:\Users\Matthew\Documents\GitHub>cd gitupdater
C:\Users\Matthew\Documents\GitHub\GitUpdater>git push
git: 'credential-cache' is not a git command. See 'git --help'.
git credential-'cache get: -c: line 0: unexpected EOF while looking for matching `''
git credential-'cache get: -c: line 1: syntax error: unexpected end of file
Username for 'https://github.com': Walkman100
Password for 'https://Walkman100@github.com':
git: 'credential-cache' is not a git command. See 'git --help'.
git credential-'cache store: -c: line 0: unexpected EOF while looking for matching `''
git credential-'cache store: -c: line 1: syntax error: unexpected end of file
Everything up-to-date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment