Skip to content

Instantly share code, notes, and snippets.

@ChrisMoney
Created July 16, 2024 12:33
Show Gist options
  • Save ChrisMoney/0e3f2312ba37099ac732d64db912fdab to your computer and use it in GitHub Desktop.
Save ChrisMoney/0e3f2312ba37099ac732d64db912fdab to your computer and use it in GitHub Desktop.
Git Global Credential Configuration
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