Showing posts with label GIT --tree-filter. Show all posts
Showing posts with label GIT --tree-filter. Show all posts

Tuesday, 6 August 2019

git : How to remove a big file wrongly committed


I added a large file to a git repository (102Mb), commited and push and got an error due to size limit limitations on github
Here, you see the path of the file (coverage/sensitivity/simualted.bed).
So, the solution is actually quite simple (when you know it): you can use the filter-branch command as follows: