1
0
Taddeus Kroes 9 жил өмнө
parent
commit
f013774de5
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      gitconfig

+ 1 - 0
gitconfig

@@ -12,6 +12,7 @@
     tree = log --graph --oneline --all --full-history --decorate
     lg = log --graph --decorate --all --full-history --date=relative \
         --format=format:'%C(bold blue)%h%Creset %C(dim bold green)%<(14)%ad%Creset %C(dim white)%an%Creset  %s%C(bold yellow)%d%Creset'
+    addnw = !sh -c 'git diff -U0 -w --no-color "$@" | git apply --cached --ignore-whitespace --unidiff-zero -'
 
 [log]
     abbrevCommit = true