mirror of
https://github.com/meineerde/dotfiles.git
synced 2025-10-17 19:41:01 +00:00
Make git addnw more compatible
This commit is contained in:
parent
d205b117bd
commit
4f2facf236
@ -10,10 +10,11 @@
|
||||
pf = push --force-with-lease
|
||||
fp = push --force-with-lease
|
||||
su = submodule update --recursive --init
|
||||
addnw = !sh -c 'git diff -w --no-color "$@" | git apply --cached --ignore-whitespace' -
|
||||
# https://stackoverflow.com/a/7149602/421705
|
||||
addnw = !sh -c 'git diff -U0 -w --no-color "$@" | git apply --cached --ignore-whitespace --unidiff-zero' -
|
||||
[user]
|
||||
name = Holger Just
|
||||
email = "hjust@meine-er.de"
|
||||
email = hello@holgerjust.de
|
||||
[color]
|
||||
branch = auto
|
||||
diff = auto
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user