I'm using this simple git alias
rmdel = "!git rm $(git ls-files -d)"
meant "remove deleted", i.e. to remove from the staging area all files deleted from the file system. It works fine except when there are any files containing blanks. Then obviously the list gets split on them as well leading to file names of non-existing files.
I think it should be possible to solve it using IFS, but IFS doesn't seem to work in cygwin and I doubt that something like
rmdel = "!IFS=' ' git rm $(git ls-files -d)"`
could work at all. Any better idea?