Github update - wrongly committed large file.

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:
Shell
1
2
git filter-branch --tree-filter 'rm -rf path/to/your/file' HEAD
git push

Comments

Popular posts from this blog

SOX - Sound eXchange - How to use SOX for audio processing tasks in research.

Sox of Silence - Original post - http://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/

How to get video or audio duration of a file using ffmpeg?