Trying to migrate to Github from Bitbucket, getting file size error

坚强是说给别人听的谎言 提交于 2019-12-05 09:34:07

GitHub places a hard limit on the size of individual files:

GitHub warns you when you try to add a file larger than 50 MB. We'll reject pushes containing files larger than 100 MB.

If any commit in your repo contains that file, GitHub will not allow you to push to a remote repository hosted on their servers.

Your options?

  1. Stay on Bitbucket, or
  2. rewrite the history of your repo (using, for instance, git filter-branch, or Roberto Tyley's BFG Repo-Cleaner) so that no file exceeding 100 Mb in size be present in any commit of that repo.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!