add git alias times
* src: https://gist.github.com/bessarabov/674ea13c77fc8128f24b5e3f53b7f094
This commit is contained in:
parent
e9890f3830
commit
e21965dca3
@ -19,3 +19,8 @@
|
||||
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
|
||||
type = cat-file -t
|
||||
dump = cat-file -p
|
||||
times = "!git log --author=\"$(git config user.name)\" \
|
||||
--date=iso \
|
||||
--format=\"%ad\" \
|
||||
--date=\"format:%H\" \
|
||||
| awk '{n=$1+0;if(H[n]++>max)max=H[n]}END{for(i=0;i<24;i++){printf\"%02d -%5d \",i,H[i];for(n=0;n<H[i]/max*50;n++){printf \"*\"}print\"\"}}'"
|
||||
|
Loading…
Reference in New Issue
Block a user