Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git cache credentials

# Cache for 1 hour
git config --global credential.helper "cache --timeout=3600"

# Cache for 1 day
git config --global credential.helper "cache --timeout=86400"

# Cache for 1 week
git config --global credential.helper "cache --timeout=604800"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #cache #credentials
ADD COMMENT
Topic
Name
3+4 =