Hacker News new | ask | show | jobs
by elsjaako 3932 days ago
I'm not sure what this is, but git blame doesn't have to be a hostile thing. Maybe it isn't named the best way.

It lets you find the reason why and context in which certain code was added.

2 comments

~/.gitconfig

[alias] praise = blame

git praise ./path/to/file

Hmm, not a bad idea: [alias] who = blame

git who file

:)

I use it more for the 'when' aspect than the 'who' aspect.
Haha great! I will remember this.
old svn user?
svn ships as annotate/praise by default. git annotate also works though praise does not unless you alias it as shown in this thread.