diff options
author | Ryan Kavanagh <rak@rak.ac> | 2023-02-14 10:32:17 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2023-02-14 10:32:17 -0500 |
commit | f6654d9cc211a5041acc7a3ed57907b552ec594d (patch) | |
tree | f3aaf897c2175f1181075d9762294a28cff9fba2 | |
parent | xconsole shifting in xmonad (diff) |
git addnw
-rw-r--r-- | dot_gitconfig.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dot_gitconfig.tmpl b/dot_gitconfig.tmpl index 74c6103..52def6b 100644 --- a/dot_gitconfig.tmpl +++ b/dot_gitconfig.tmpl @@ -21,6 +21,7 @@ rl = reflog --format='%C(auto)%h %<|(20)%gd %C(blue)%cr%C(reset) %gs (%s)' subrepo = !~/.local/lib/git-core/git-subrepo + addnw=!sh -c 'git diff -U0 -w --no-color "$@" | git apply --cached --ignore-whitespace --unidiff-zero -' [push] default = simple [url "git://anonscm.debian.org"] |