Shell/Bash: git credential cache Example


Shell/Bash Example: This is the "git credential cache" Example. compiled from many sources on the internet by

git credential cache

# Set credential cache to avoid typing password every time
# (Timeout time is in seconds i.e. 14 hours)
# For Ubuntu

git config credential.helper 'cache --timeout=50400'

git crdencial --cache

# Set the time to remember your credentials for (in seconds). The command below sets it to 10 minutes.
$ git config --global credential.helper 'cache --timeout=600'

cache github credentials widows

$ git config --global credential.helper wincred

* Summary: This "git credential cache" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!