3 ms·
Commands in the article: git clone https://github.com/ianmiell/cookbook-openshift3-frozen cd cookbook-openshift3-frozen git log git log --oneli
by zwischenzug 9y ago
Commands in the article:
git clone https://github.com/ianmiell/cookbook-openshift3-frozen
cd cookbook-openshift3-frozen
git log
git log --oneline
git log --oneline --decorate
git log --oneline --decorate --all
git log --oneline --decorate --all --graph
git log --oneline --decorate --all --graph --simplify-by-decoration
git log --oneline --decorate --all --graph --stat
git log -G 'chef-client' --graph --oneline --stat
git log -G 'chef-client' --graph --oneline --stat --pickaxe-all
- MayeulC 9y agoA quick mnemonic I read on StackOverflow[1] some time ago: When using git log, do it like "a dog" git log --all --decorate --oneline --graph I must say I had forgotten about the `--all` part, but the article mentions that it should be on by default if running interactively in the terminal, at least with recent versions of git. [1]It might have been https://stackoverflow.com/questions/1057564/pretty-git-branch-graphs https://stackoverflow.com/questions/1057564/pretty-git-branc... but I am not 100% sure.
- jwilk 9y agoI don't believe the article's claim about --all being on by default is true.
- zwischenzug 9y agoIt's not, it was a typo I've corrected.
- shezi 9y agoSo the obvious alias would be git config --global alias.logadog "log --all --decorate --online --graph"