Shell/Bash: store git credentials ubuntu Example

By

Shell/Bash Example: This is the "store git credentials ubuntu" 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

store git credentials ubuntu

$ 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 save username and password

git config --global credential.helper store

add credentials git linux

# This cache timeout is in seconds
$ git config --global credential.helper 'cache --timeout=3600' 



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

Others