Thread (9 messages) flat view 9 messages, 5 authors, 2016-06-15

Re: diff settings

From: Teemu Likonen <hidden>
Date: 2016-06-15 22:46:01

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". :-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help