Skip to content

Commit 1484f62

Browse files
committed
2 parents 189f0b1 + 9ecc573 commit 1484f62

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# git2dot
2-
Visualize a git repository using the graphviz dot tool.
2+
Visualize a git repository using the graphviz dot tool optionally with pan and zoomn.
33

44
It is useful for understanding how git works in detail. You can use
55
it to analyze repositories before and after operations like merge and
@@ -424,10 +424,22 @@ $ ../git2dot.py --graph-label 'graph[label="example2 - compressed pruned state"]
424424

425425
As you can see, branchB has been completely removed in the second one.
426426

427+
## Eat your own dog food
428+
429+
Here is the generated image of the git2dot development tree for v0.6.
430+
431+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="https://cloud.githubusercontent.com/assets/2991242/22603307/b1538d68-e9fb-11e6-859b-7c0387e9b972.png" width="1100" alt="dog food">
432+
433+
It was generated with this command.
434+
435+
```bash
436+
$ ./git2dot.py -s -c --png --graph-label 'graph[label="git2dot v0.6", fontsize="18"]' git.dot
437+
```
438+
427439
## Hints
428440

429441
1. For large graphs consider using the `--squash` option.
430-
2. For graphs that have multiple branches and tags on the same commits consuder using the `--crunch` option.
442+
2. For graphs that have multiple branches and tags on the same commits consider using the `--crunch` option.
431443
3. If you only want to see the combined history of a few branches or tags (like release branches) consider using the `--choose-branch` and `--choose-tag` options to prune the graph.
432444
4. Use the `--since` option if you don't care about ancient history.
433445
5. The `--graph-label` option can be useful and can be very simple: `--graph-label 'graph[label="MY LABEL"]'`.

0 commit comments

Comments
 (0)