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.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…