git status. Oh my god there are many untracked deletes
Blog ยป git status. Oh my god there are many untracked deletes
Posted on 22 Feb 2011 16:44
git status is reporting that there are many deleted files. And you really want to remove them from repository. Do 'git rm' one by one? No, you don't need to:
git status | grep deleted: | cut -d: -f2 | xargs git rm
If you like this page, please spread the word:
You can contact me if you have questions or corrections.