git - Unable to push commit to Github even though oversized file was removed -


i initialized new repository in current folder , committed it. created remote on github , tried push it.

 git push -u origin master 

the push failed because had large 110 mb file sequence.fasta on github's file size limit. compressed file , removed 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 tried push again

 git push -u origin master 

it gave same error file "sequence.fasta". did git ls-tree -r master , shows sequence.fasta.bz2, not oversized one. going wrong?

you need remove commits in git history, not create commit without it, leave in previous commits. can use bfg this: https://stackoverflow.com/a/17890278/2536029


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -