Caching your github password

Password Caching Git

if you have cloned your project via https you can cache your password by below command in terminal.


$ git config --global credential.helper cache 
# Set git to use the credential memory cache

$ git config --global credential.helper 'cache --timeout=3600'
# Set the cache to timeout after 1 hour (setting is in seconds)

Leave a Reply

Your email address will not be published. Required fields are marked *