Answers for "how to set password in git"

11

how to setup git password

git config --global credential.helper store
Posted by: Guest on April-27-2020
0

git update password

On macOS, you can use

$ git config --global credential.helper osxkeychain
A username and password prompt will appear with your next 
Git action (pull, clone, push, etc.).

For Windows, it's the same command with a different argument:

$ git config --global credential.helper wincred
Posted by: Guest on September-26-2021
0

git save password

// for storing globally
git config --global credential.helper store
git push origin <your branch>

//for folder specific
git config credential.helper store
git push origin <your branch>

// after pushing once with password from next time it wont ask for password
Posted by: Guest on April-16-2021

Code answers related to "how to set password in git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language