diff --git a/README.md b/README.md index 0ffec01..9b06dfc 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,7 @@ * [Open all conflicted files in an editor.](https://github.com/git-tips/tips#open-all-conflicted-files-in-an-editor) * [Count unpacked number of objects and their disk consumption.](https://github.com/git-tips/tips#count-unpacked-number-of-objects-and-their-disk-consumption) * [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) @@ -647,5 +648,10 @@ git count-objects --human-readable git gc --prune=now --aggressive ``` +## Instantly browse your working repository in gitweb. +```sh +git instaweb [--local] [--httpd=] [--port=] [--browser=] +``` + diff --git a/tips.json b/tips.json index 5f719a6..4d29733 100644 --- a/tips.json +++ b/tips.json @@ -287,4 +287,7 @@ }, { "title": "Prune all unreachable objects from the object database.", "tip": "git gc --prune=now --aggressive" +},{ + "title": "Instantly browse your working repository in gitweb.", + "tip": "git instaweb [--local] [--httpd=] [--port=] [--browser=]" }]