I initialized a new repository in my current folder and committed to it. I created a remote on Github and tried to push to it.
git push -u origin master
The push failed because I had a large 110 MB file sequence.fasta which was over Github's file size limit. I compressed the file and removed the earlier ref:_
bz2 sequence.fasta
git rm sequence.fasta
git addd sequence.fasta.bz2
and committed
git commit -m "Compressed large file sequence.fasta"
Then I tried push again
git push -u origin master
It gave the same error with file "sequence.fasta". I did git ls-tree -r master
and it shows only sequence.fasta.bz2, not the oversized one. What is going wrong?