How to make git diff --ignore-space-change the default

config, git, git-config

Solution

According to the Git Config manual, there's no such option. Your only option is to make an alias.

http://git-scm.com/docs/git-config

Problem

I could probably setup an alias, but it seems like I should be able to set this as an option in the config file, only I don't see anyway to do it. I only want the `--ignore-space-change` when I'm doing diff, not when I'm doing apply or anything else. I'm trying to make the diff easier to understand by not cluttering it with with extraneous +/- lines that have no real changes on them.

Original source