# 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 config --global credential.helper "cache --timeout=3600"
# 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"