Skip to content

Commit a01ef67

Browse files
committed
instaweb
1 parent 33c8259 commit a01ef67

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
@@ -94,6 +94,7 @@
9494
* [Open all conflicted files in an editor.](https://github.com/git-tips/tips#open-all-conflicted-files-in-an-editor)
9595
* [Count unpacked number of objects and their disk consumption.](https://github.com/git-tips/tips#count-unpacked-number-of-objects-and-their-disk-consumption)
9696
* [Prune all unreachable objects from the object database.](https://github.com/git-tips/tips#prune-all-unreachable-objects-from-the-object-database)
97+
* [Instantly browse your working repository in gitweb.](https://github.com/git-tips/tips#instantly-browse-your-working-repository-in-gitweb)
9798

9899
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
99100
<!-- @doxie.inject end toc -->
@@ -647,5 +648,10 @@ git count-objects --human-readable
647648
git gc --prune=now --aggressive
648649
```
649650

651+
## Instantly browse your working repository in gitweb.
652+
```sh
653+
git instaweb [--local] [--httpd=<httpd>] [--port=<port>] [--browser=<browser>]
654+
```
655+
650656
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
651657
<!-- @doxie.inject end -->

tips.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,4 +287,7 @@
287287
}, {
288288
"title": "Prune all unreachable objects from the object database.",
289289
"tip": "git gc --prune=now --aggressive"
290+
},{
291+
"title": "Instantly browse your working repository in gitweb.",
292+
"tip": "git instaweb [--local] [--httpd=<httpd>] [--port=<port>] [--browser=<browser>]"
290293
}]

0 commit comments

Comments
 (0)