From aa2dd068afdd1e67ecb392693feacf14013eba55 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 31 Oct 2017 14:40:25 +0100 Subject: [PATCH] added new "addnw" alias to gitconfig --- home/.gitconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/.gitconfig b/home/.gitconfig index 56da60a..070a2d1 100644 --- a/home/.gitconfig +++ b/home/.gitconfig @@ -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 -' +