I have a giant repo that I did not use using rm ( not) The four files have been removed git rm ), and my GIT status looks like this:
#deleted: file1.txt # deleted: File2.txt # deleted: file3 Txt # deleted: file4.txt How to remove these files without having to manually go and add each file in this way:
git rm file1 file2 file3 file4 Ideally, I work in a way that is git add does, if it is possible.
git ls-files - deleted -z | Xargs -0 git rm What you are probably looking for .. It works for me ..
Comments
Post a Comment