You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,7 @@
55
55
*[Modify previous commit without modifying the commit message](https://github.com/git-tips/tips#modify-previous-commit-without-modifying-the-commit-message)
56
56
*[Purnes branches that have been deleted in the remote.](https://github.com/git-tips/tips#purnes-branches-that-have-been-deleted-in-the-remote)
57
57
*[Retrieve the commit hash of the initial revision.](https://github.com/git-tips/tips#retrieve-the-commit-hash-of-the-initial-revision)
58
+
*[Visualize the version tree.](https://github.com/git-tips/tips#visualize-the-version-tree)
58
59
59
60
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
60
61
<!-- @doxie.inject end toc -->
@@ -389,5 +390,16 @@ git remote prune origin
389
390
git rev-list --reverse HEAD | head -1
390
391
```
391
392
393
+
## Visualize the version tree.
394
+
```sh
395
+
git log --pretty=oneline --graph --decorate --all
396
+
```
397
+
398
+
399
+
__Alternatives:__
400
+
```sh
401
+
gitk --all
402
+
```
403
+
392
404
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
0 commit comments