1 2 3 4 5 6
#/bin/sh git diff -p -R --no-ext-diff --no-color \ | grep -E "^(diff|(old|new) mode)" --color=never \ | git apply;