Skip to content

Instantly share code, notes, and snippets.

@vanpeerdevelopment
Created January 28, 2014 18:52
Command to remove a git configuration.
# Remove repository configuration
git config --unset [key]
# Remove global configuration
git config --global --unset [key]
# Remove system configuration
git config --system --unset [key]
@KulaGGin
Copy link

KulaGGin commented Jun 24, 2020

@Franks-Joseph, to see the keys, run git config --global --list or --local - for local settings respectively. It will be entries such as core.autocrlf, merge.tool=bc and other, depending on what you set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment