Git references
git rm --cached file
- Remove files from all the repo history
git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch filename' HEAD
- force a push
git push origin master --force
git rm --cached file
git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch filename' HEAD
git push origin master --force