Shell/Bash: git save password Example

By

Shell/Bash Example: This is the "git save password" 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 save password global

git config --global user.name "your username"
git config --global user.password "your password"

git config --global credential.helper store

git save password

// for storing globally
git config --global credential.helper store
git push origin 

//for folder specific
git config credential.helper store
git push origin 

// after pushing once with password from next time it wont ask for password

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 "git save password" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others