Skip to content

Commit c358de0

Browse files
authored
Merge pull request #159 from cumanacr/master
An alternative with shorter hash, author and relative date added.
2 parents 8b613e0 + 26e8a7b commit c358de0

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,11 @@ __Alternatives:__
665665
gitk --all
666666
```
667667

668+
669+
```sh
670+
git log --graph --pretty=format:'%C(auto) %h | %s | %an | %ar%d'
671+
```
672+
668673
## Deploying git tracked subfolder to gh-pages
669674
```sh
670675
git subtree push --prefix subfolder_name origin gh-pages

tips.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
}, {
220220
"title": "Visualize the version tree.",
221221
"tip": "git log --pretty=oneline --graph --decorate --all",
222-
"alternatives": ["gitk --all"]
222+
"alternatives": ["gitk --all","git log --graph --pretty=format:'%C(auto) %h | %s | %an | %ar%d'"]
223223
}, {
224224
"title": "Deploying git tracked subfolder to gh-pages",
225225
"tip": "git subtree push --prefix subfolder_name origin gh-pages",

0 commit comments

Comments
 (0)