added new "addnw" alias to gitconfig

This commit is contained in:
Steffen Vogel 2017-10-31 14:40:25 +01:00
parent f9b8ae6c07
commit aa2dd068af

View file

@ -54,3 +54,6 @@
smtpServer = mail.0l.de
smtpUser = stv0g
smtpServerPort = 587
[alias]
addnw = !sh -c 'git diff -U0 -w --no-color "$@" | git apply --cached --ignore-whitespace --unidiff-zero -'