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 -' +