0
Q:

git store credentials

// local
git config credential.helper store
// global
git config --global credential.helper store
8
# this will store your credentials "forever"
git config --global credential.helper store
6
$ git config credential.helper store
$ git push http://example.com/repo.git
Username: <type your username>
Password: <type your password>

[several days later]
$ git push http://example.com/repo.git
[your credentials are used automatically]
0
# This cache timeout is in seconds
$ git config --global credential.helper 'cache --timeout=3600' 
3

New to Communities?

Join the community