Skip to content

Commit afa8747

Browse files
committed
Merge pull request #45 from dcortes92/master
Added tip to remove an entry from the global config.
2 parents 1cde458 + 8b9d236 commit afa8747

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
* [Prune all unreachable objects from the object database.](https://github.com/git-tips/tips#prune-all-unreachable-objects-from-the-object-database)
9797
* [Instantly browse your working repository in gitweb.](https://github.com/git-tips/tips#instantly-browse-your-working-repository-in-gitweb)
9898
* [View the GPG signatures in the commit log](https://github.com/git-tips/tips#view-the-gpg-signatures-in-the-commit-log)
99+
* [Remove entry in the global config.](https://github.com/git-tips/tips#remove-entry-in-the-global-config)
99100

100101
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
101102
<!-- @doxie.inject end toc -->
@@ -659,5 +660,10 @@ git instaweb [--local] [--httpd=<httpd>] [--port=<port>] [--browser=<browser>]
659660
git log --show-signature
660661
```
661662

663+
## Remove entry in the global config.
664+
```sh
665+
git config --global --unset <entry-name>
666+
```
667+
662668
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
663669
<!-- @doxie.inject end -->

tips.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,4 +293,7 @@
293293
},{
294294
"title": "View the GPG signatures in the commit log",
295295
"tip": "git log --show-signature"
296+
}, {
297+
"title": "Remove entry in the global config.",
298+
"tip": "git config --global --unset <entry-name>"
296299
}]

0 commit comments

Comments
 (0)