The standard spacing for a tab is 8 characters.
I prefer to view that as 4 characters in my editors and console. I can easily change this default behavior on console with the tabs
command:
tabs -4
However, when using git diff
or git show
it displays in the default 8 character tab whitespace.
How can I get git diff
to render tabs as 4 character spaces?