During a git merge conflict I created a file named ‘e –abort’
my attempt to remove the file:
$ rm ./e –abort
and get this:
rm: unrecognized option `–abort’
also tried:
$ git rm — e –abort
and got:
fatal: pathspec ‘e’ did not match any files
because the dashes are not at the beginning this did not work for me
Try escaping the space in the file name:
rm ./e\ --abort