$ 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]
$ git config --global credential.helper wincred
git config --global credential.helper store
git remote set-url origin [email protected]:username/repo.git
git config --global credential.helper 'cache --timeout=600'