1
0
mirror of https://github.com/meineerde/dotfiles.git synced 2026-02-05 16:43:22 +00:00

Add git alias to add only non-whitespace changes to stage

This commit is contained in:
Holger Just 2013-03-27 11:56:50 +01:00
parent 2bacded853
commit b3a64bab6a

View File

@ -11,6 +11,7 @@
pf = push --force
fp = push --force
su = submodule update --init
addnw = !sh -c 'git diff -w --no-color "$@" | git apply --cached --ignore-whitespace' -
[user]
name = Holger Just
email = "hjust@meine-er.de"