Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git pull with username and password linux

In a terminal, run:

$ git config --global credential.helper cache

# Set git to use the credential memory cache
To customize the cache timeout, you can do:

$ git config --global credential.helper 'cache --timeout=3600'
# Set the cache to timeout after 1 hour (setting is in seconds)
 
PREVIOUS NEXT
Tagged: #git #pull #username #password #linux
ADD COMMENT
Topic
Name
1+4 =