Re:Better Git configuration
by mi100hael on Wednesday April 05, 2017 @07:22PM
(#14046601)
Some good tips in here. I also like to add the following alias to give me a more condensed log with graph & tags:
[ Parent
| on HN ]
Re:Better Git configuration
by pavel_lishin on Wednesday April 05, 2017 @07:38PM
(#14046692)
I have a similar one:
lg2 = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen%cn%Creset %Cblue(%cr)%Creset' --abbrev-commit --date=relative
Shows dates at the end, in a relative format (2 days ago, 29 hours ago, etc) and the tags/branches before the commit message.So do I!
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
Re:Better Git configuration
by pavel_lishin on Wednesday April 05, 2017 @09:05PM
(#14047120)
Date before author? Blasphemeeeeeeee†!