Re:Show HN: git self-blame – Blame yourself for others' mist...
by pcthrowaway on Thursday February 22, 2018 @05:10PM
(#16441952)
If they're using bash, it shouldn't be so hard. Just put something like this in your/their bashrc
edit: this isn't 100% perfect as it won't work (but won't break git either) in situations where the user uses a global flag in addition to blame. I've been using git for years though and the only global flag I've used are --version and --help
[ Parent
| on HN ]
Re:Show HN: git self-blame – Blame yourself for others' mist...
by jacobevelyn on Thursday February 22, 2018 @07:05PM
(#16442847)
Awesome, thanks for sharing! My Bash skills definitely have lots of room for improvement—I think I learned at least three new things from your comment alone. :)
I too had never really used global git flags until they came in very handy for `git self-blame`!