Sunday, December 13, 2015

How to commit all deleted files in Git without affecting other modified files?

git ls-files --deleted | xargs git rm