Ignore whitespace-only changes
suggest changeSometimes repos will have commits that only adjust whitespace, for example fixing indentation or switching between tabs and spaces. This makes it difficult to find the commit where the code was actually written.
git blame -w
will ignore whitespace-only changes to find where the line really came from.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents