I deleted a bunch of files and directories from a Git repository using rm
, the Finder, etc.
I'm looking for a Git command that'll record these to the index as marked for removal, as if I had called git rm
on them.
I understand git add -u
will do this, along with a bunch of other things. I'd like my command to exclusively handle removals.
git rm
can stage the removed files, it's just looking for a way to stage them all with a single invocation ofgit rm
. – Farflung