Git (Version Control) - Remove user defined git configurations

by
Jeremy Canfield |
Updated: June 22 2022
| Git (Version Control) articles
The git config command with the -l or --list option can be used to display the configurations that have been set.
~]# git config --list
user.name="John Doe"
user.email="john.doe@example.com"
The git config command with the --unset option can be used to remove configurations. The --global flag can be included to remove global configurations.
git config --global --unset user.email
Did you find this article helpful?
If so, consider buying me a coffee over at