Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

About this user

Matt

« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS 

Remove Deleted Files From Git

// Via http://www.jamesrobey.com/bash-script-to-remove-deleted-files-from-git/

   1  
   2  for i in `git status | grep deleted | awk '{print $3}'`; do git rm $i; done
« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS