Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

May 28 2010

Remove Deleted Files From Git [bash] [scm] [git]

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

# Option B (very clean)
$ git rm $(git ls-files -d)
Tags: git snippet