3 ms·
Some good tips in here. I also like to add the following alias to give me a more condensed log with graph & tags: hist = log --pretty=format:\"%C(yellow)%
by mi100hael 10y ago
Some good tips in here. I also like to add the following alias to give me a more condensed log with graph & tags:
hist = log --pretty=format:\"%C(yellow)%h%C(reset) %C(green)%ad%C(reset) %C(red)|%C(reset) %s %C(bold blue)[%an]%C(reset)%C(yellow)%d%C(reset)\" --graph --date=short
- pavel_lishin 10y agoI 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.
- nichochar 10y agoSo 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
- pavel_lishin 10y agoDate before author? Blasphemeeeeeeee†! † http://oglaf.com/assorted-fruits/ http://oglaf.com/assorted-fruits/ (sfw)