x8xbnq
Last Updated: July 01, 2016
·
8.134K
· janahrens
7e73bcca5eb4a255d557813cdc5a8174

git: don't blame people for changing whitespaces or moving code

git blame will show the author of the last commit that modified the particular line. If whitespaces were removed or that piece of code was moved around, blame will show that commit and you might blame the wrong person.

git blame -w -M

-w will ignore whitespaces and -M will detect moved or copied lines.


Say Thanks
Respond

1 Response
Add your response

1906
736212 10200976756252420 836055407 o

good thing to avoid looking on the whitespace changes. Time saver! Thx

over 1 year ago ·
Filed Under