3 ms·
My all-time favorite git tip is adding the '--graph' flag to git log, which will show the log with a branch graph. But while you're at it, might as well go all
by mieubrisse 13y ago
My all-time favorite git tip is adding the '--graph' flag to git log, which will show the log with a branch graph. But while you're at it, might as well go all the way:
git log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
(Kudos to the unremembered internet person who posted this in the first place)
- dwaltrip 13y agoI think we have benefitted from the same stackoverflow thread =) http://stackoverflow.com/questions/1057564/pretty-git-branch-graphs http://stackoverflow.com/questions/1057564/pretty-git-branch...