I have a problem adding an alias to my git config for this set of commands.
git ls-files --deleted -z | xargs -0 git rm
I tried this:
git config --global alias.rmd "ls-files --deleted -z | xargs -0 git rm"
When I run git rmd
this would prompt me with a missing parameter for ls-files.
Is the alias syntax incorrect or perhaps there is a typo somewhere ... ?