Joined August 2012
·
Posted to
See which Git command you use the most
over 1 year
ago
@passcod @inkel: in zsh, it's better to use
history 1 . | .......
or ${HISTFILE} instead of ~/.histfile
My most used git commands
1 51 13.8965% log 2 50 13.624% co 3 22 5.99455% diff 4 22 5.99455% commit 5 18 4.90463% reset 6 17 4.63215% stash 7 17 4.63215% clone 8 17 4.63215% add 9 15 4.08719% merge 10 14 3.81471% cot
Posted to
My git log
over 1 year
ago
Thanks for the tip. And here's a git alias:
lg = log --graph --pretty='format:%C(yellow)%h%Cred%d%Creset %s %C(white) %C(cyan)%an%Creset, %C(green)%ar%Creset'
This works fine for me.
Achievements
55 Karma
533 Total ProTip Views
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
Python
Would you expect anything less? Have at least one original repo where Python is the dominant language
Raven
Have at least one original repo where some form of shell script is the dominant language
You can do it shorter:
git show