mirror of
https://github.com/namibia/tips.git
synced 2025-01-23 07:08:27 +00:00
Visualize the version tree.
This commit is contained in:
parent
e9e75fed9e
commit
8746905b37
12
README.md
12
README.md
@ -55,6 +55,7 @@
|
|||||||
* [Modify previous commit without modifying the commit message](https://github.com/git-tips/tips#modify-previous-commit-without-modifying-the-commit-message)
|
* [Modify previous commit without modifying the commit message](https://github.com/git-tips/tips#modify-previous-commit-without-modifying-the-commit-message)
|
||||||
* [Purnes branches that have been deleted in the remote.](https://github.com/git-tips/tips#purnes-branches-that-have-been-deleted-in-the-remote)
|
* [Purnes branches that have been deleted in the remote.](https://github.com/git-tips/tips#purnes-branches-that-have-been-deleted-in-the-remote)
|
||||||
* [Retrieve the commit hash of the initial revision.](https://github.com/git-tips/tips#retrieve-the-commit-hash-of-the-initial-revision)
|
* [Retrieve the commit hash of the initial revision.](https://github.com/git-tips/tips#retrieve-the-commit-hash-of-the-initial-revision)
|
||||||
|
* [Visualize the version tree.](https://github.com/git-tips/tips#visualize-the-version-tree)
|
||||||
|
|
||||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||||
<!-- @doxie.inject end toc -->
|
<!-- @doxie.inject end toc -->
|
||||||
@ -389,5 +390,16 @@ git remote prune origin
|
|||||||
git rev-list --reverse HEAD | head -1
|
git rev-list --reverse HEAD | head -1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Visualize the version tree.
|
||||||
|
```sh
|
||||||
|
git log --pretty=oneline --graph --decorate --all
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
__Alternatives:__
|
||||||
|
```sh
|
||||||
|
gitk --all
|
||||||
|
```
|
||||||
|
|
||||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||||
<!-- @doxie.inject end -->
|
<!-- @doxie.inject end -->
|
||||||
|
@ -217,5 +217,10 @@
|
|||||||
{
|
{
|
||||||
"title": "Retrieve the commit hash of the initial revision.",
|
"title": "Retrieve the commit hash of the initial revision.",
|
||||||
"tip": " git rev-list --reverse HEAD | head -1"
|
"tip": " git rev-list --reverse HEAD | head -1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Visualize the version tree.",
|
||||||
|
"tip": "git log --pretty=oneline --graph --decorate --all",
|
||||||
|
"alternatives":["gitk --all"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user