for i in ` git st | grep deleted | awk ‘{print $3}’ ` ; do git rm $i; done
Respond | Trackback
Another way:
git ls-files –deleted | xargs git rm
And if you don’t mind changed files also added to the index:
git add -u
Actually there is one better:
git ls-files –deleted | xargs –no-run-if-empty git rm
Name: (required)
Email: (required) (will not be published)
URL:
Comments
Another way:
git ls-files –deleted | xargs git rm
And if you don’t mind changed files also added to the index:
git add -u
Actually there is one better:
git ls-files –deleted | xargs –no-run-if-empty git rm