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:

This entry was posted in Computer Science and tagged , . Bookmark the permalink.

2 Responses to git : How to remove a big file wrongly committed

  1. Drdrej says:

    thank you!

  2. Nikiya Simpson says:

    You don’t know how much I appreciate this! I’m glad I found you on google.

Leave a Reply

Your email address will not be published.