Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

github resolve issue large file

You can use

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

This will delete everything in the history of that file. The problem is that the file is present in the history.
This command changes the hashes of your commits which can be a real problem, especially on shared repositories. It should not be performed without understanding the consequences.
Source by www.google.com #
 
PREVIOUS NEXT
Tagged: #github #resolve #issue #large #file
ADD COMMENT
Topic
Name
9+8 =