Created
July 16, 2024 12:33
-
-
Save ChrisMoney/0e3f2312ba37099ac732d64db912fdab to your computer and use it in GitHub Desktop.
Git Global Credential Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Save the username and password globally: | |
git config --global user.name "fname lname" | |
git config --global user.email "example@gmail.com" | |
git config --global user.password "secret" | |
Get a specific setting, | |
git config --global --get user.name | |
git config --global --get user.email | |
git config --global --get user.password | |
Getting all Git settings: | |
git config --list --show-origin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment