jaymascarenas
11/3/2016 - 5:20 PM

How to reset your git commit history and remove the file if you commit a file that is too large for github.

How to reset your git commit history and remove the file if you commit a file that is too large for github.

git filter-branch --index-filter 'git rm -r --cached --ignore-unmatch <file/dir>' HEAD