Saving Passwords in Git
For git version >= 1.7.10
Entering the username and password everytime you do a git push is a waste of time. The following commands will save your credentials for a defined time period in memory.
To store your username and password, use the following commands
Entering the username and password everytime you do a git push is a waste of time. The following commands will save your credentials for a defined time period in memory.
To store your username and password, use the following commands
git config --global credential.helper cache
By default git stores password for 15 minutes. You can change this by
git config --global credential.helper 'cache --timeout=3600'
(If you want a timeout of 1 hour)