diff --git a/README.md b/README.md index 153db34..53eb393 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,7 @@ * [Prune all unreachable objects from the object database.](https://github.com/git-tips/tips#prune-all-unreachable-objects-from-the-object-database) * [Instantly browse your working repository in gitweb.](https://github.com/git-tips/tips#instantly-browse-your-working-repository-in-gitweb) * [View the GPG signatures in the commit log](https://github.com/git-tips/tips#view-the-gpg-signatures-in-the-commit-log) +* [Remove entry in the global config.](https://github.com/git-tips/tips#remove-entry-in-the-global-config) @@ -659,5 +660,10 @@ git instaweb [--local] [--httpd=] [--port=] [--browser=] git log --show-signature ``` +## Remove entry in the global config. +```sh +git config --global --unset +``` + diff --git a/tips.json b/tips.json index a43fb6d..332f546 100644 --- a/tips.json +++ b/tips.json @@ -293,4 +293,7 @@ },{ "title": "View the GPG signatures in the commit log", "tip": "git log --show-signature" +}, { + "title": "Remove entry in the global config.", + "tip": "git config --global --unset " }]