Shell/Bash: git store credentials Example
Shell/Bash Example: This is the "git store credentials" Example. compiled from many sources on the internet by SimpleTutorials.org
git store credentials
// local git config credential.helper store // global git config --global credential.helper store
git config credential.helper store
$ git config credential.helper store $ git push http://example.com/repo.git Username:Password: [several days later] $ git push http://example.com/repo.git [your credentials are used automatically]
git credentials
# this will store your credentials "forever" git config --global credential.helper store
add credentials git linux
# This cache timeout is in seconds $ git config --global credential.helper 'cache --timeout=3600'
git save credentials
$ git config --global credential.helper store
how to store git credentials
git config --global credential.helper store
* Summary: This "git store credentials" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!