Remove files that are listed in the .gitignore

Sunday, September 13, 2015 7:29 PM 0 Comments

command

git rm --cached `git ls-files -i --exclude-from=.gitignore`

Ref: http://stackoverflow.com/a/13541721 

0 comments: