Skip to content

Instantly share code, notes, and snippets.

@vanpeerdevelopment
Last active January 4, 2016 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vanpeerdevelopment/8673683 to your computer and use it in GitHub Desktop.
Save vanpeerdevelopment/8673683 to your computer and use it in GitHub Desktop.
Configuration git and listing the used configuration
# Add repository configuration
git config [key] [value]
# Add global configuration
git config --global [key] [value]
# Add system configuration
git config --system [key] [value]
# Show repository configuration for key
git config [key]
# Show global configuration for key
git config --global [key]
# Show system configuration for key
git config --system [key]
# List all repository configurations
git config --list
# List all global configurations
git config --global --list
# List all system configurations
git config --system --list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment