Last active
January 4, 2016 20:20
-
-
Save vanpeerdevelopment/8673683 to your computer and use it in GitHub Desktop.
Configuration git and listing the used 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
# 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