Re: diff settings
- From
- Teemu Likonen <tlikonen@iki.fi>
- Date
- Jan 24, 2009, 19:33 UTC
- Message-ID
- <87ocxwv6qg.fsf@iki.fi>
- In-Reply-To
- <alpine.GSO.2.00.0901240936080.23073@kiwi.cs.ucla.edu>
Keith Cascio (2009-01-24 09:38 -0800) wrote:
> How do I configure my local git so that diff always obeys a particular > option, e.g. "-w", without needing to type it on the command line each > time?
It seems that the answer is "no", but aliases are a work-around:
git config --global alias.dff "diff -w"
Then "git dff" is your new "git diff -w". :-)