mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-06 22:55:10 +01:00
Also stats per hour on a day
This commit is contained in:
@@ -65,7 +65,10 @@ alias gst='git status'
|
|||||||
alias gp='git push'
|
alias gp='git push'
|
||||||
# git activity per week day:
|
# git activity per week day:
|
||||||
# git log --pretty='%at' | while read d; do date -d "@$d"; done | awk '{print $1}' | sort | uniq -c
|
# git log --pretty='%at' | while read d; do date -d "@$d"; done | awk '{print $1}' | sort | uniq -c
|
||||||
alias ga='git log --pretty='"'"'%at'"'"' | while read d; do date -d "@$d"; done | awk '"'"'{print $1}'"'"' | sort | uniq -c'
|
alias gad='git log --pretty='"'"'%at'"'"' | while read d; do date -d "@$d"; done | awk '"'"'{print $1}'"'"' | sort | uniq -c'
|
||||||
|
# git activity per hour of the day:
|
||||||
|
# git log --pretty='%at' | while read d; do date +%H -d "@$d"; done | sort | uniq -c
|
||||||
|
alias gah='git log --pretty='"'"'%at'"'"' | while read d; do date +%H -d "@$d"; done | sort | uniq -c'
|
||||||
|
|
||||||
# mercurial coloured diff
|
# mercurial coloured diff
|
||||||
alias hgd='hg diff | colordiff -y | less -R'
|
alias hgd='hg diff | colordiff -y | less -R'
|
||||||
|
|||||||
Reference in New Issue
Block a user