How to remove files from git repository added before .gitignore ?
git rm --cached `git ls-files -i --exclude-from=.gitignore`
git commit -m 'rm files from gitignore'
git rm --cached `git ls-files -i --exclude-from=.gitignore`
git commit -m 'rm files from gitignore'