How to delete git configuration in git config file?

There are several ways to delete a git configuration based on the scope of the configuration as shown below.

Delete git system configuration options:

Option 1: Directly edit the git config file:

Option 2: Delete the entire configuration section:

Option 3: Delete individual configuration items:

Delete git global configuration options:

Option 1: Directly edit the git config file:

Option 2: Delete the entire configuration section:

Option 3: Delete individual configuration items:

Delete git local configuration options:

Option 1: Directly edit the git config file:

Option 2: Delete the entire configuration section:

Option 3: Delete individual configuration items:

Leave a Reply