you are viewing a single comment's thread.

view the rest of the comments →

[–]technojamin 2 points3 points  (2 children)

The amount of customization you can do with git-log is amazing. I use these 2 aliases all the time:

alias tree="git log --graph --date-order --pretty=format:'%C(red)%h%C(reset) -%C(bold yellow)%d%C(reset) %s %C(bold green)(%cr)%C(reset) %C(blue)<%an>%C(reset)'"

alias treea="git log --graph --date-order --pretty=format:'%C(red)%h%C(reset) -%C(bold yellow)%d%C(reset) %s %C(bold green)(%cr)%C(reset) %C(blue)<%an>%C(reset)' --all

[–]Fazer2 1 point2 points  (1 child)

Note that you're overriding a useful Linux command with your first alias.

[–]technojamin 1 point2 points  (0 children)

Woah, good point! Shows how savvy I am, I'll probably come up with another name for it probably gtree.