From 8b9d2366f1db10b8111112da0fcd7c6fe3166c08 Mon Sep 17 00:00:00 2001 From: Daniel Cortes Date: Wed, 6 Apr 2016 14:20:46 -0600 Subject: [PATCH] Added tip to remove an entry from the global config. --- README.md | 6 ++++++ tips.json | 3 +++ 2 files changed, 9 insertions(+) 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 " }]