Posted By

gpupo on 11/09/10


Tagged


Versions (?)

Remove Deleted Files From Git


 / Published in: Bash
 

  1. for i in `git status | grep deleted | awk '{print $3}'`; do git rm $i; done

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: limepix on July 29, 2011

hey

i think the problem here is, that if a file is called "deleted" it will also be removed?!

You need to login to post a comment.