Forked from lopugit/gist:14f28b7e4db8225fcff32b990c19a2bb
Created
June 5, 2019 09:57
-
-
Save johnss/1ba9bf64827aff1452e704cb36851cf0 to your computer and use it in GitHub Desktop.
Delete large file from github history when dealing with remote rejected pre-receive hook declined Large files detected this exceeds GitHub's file size limit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git filter-branch --index-filter 'git rm -r --cached --ignore-unmatch <file/dir>' HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment