相关疑难解决方法(0)

从提交历史记录中删除大于 100MB 的文件 - 迁移到 Github 失败

我正在尝试将一个项目从 GitLab 迁移到 GitHub。.dat,.csv,.exe,.pkl存储库大小为 685.83MB,由几个超过 100MB 到 3383.40 MB 的文件组成。它因以下错误而失败。

GitLab To GitHub Migration Steps:-
$ git clone --mirror git@your-gitlab-site.com:test/my-repo.git
$ cd my-repo.git
$ git remote set-url --push origin git@github.com:test/my-repo.git
$ git push

Error
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: error: File Src/project/label/file1.dat is 476.32 MB; this exceeds GitHub Enterprise's file size limit of 100.00 MB
remote: error: File Src/models/label/file2.dat is 2431.49 MB; this exceeds GitHub …
Run Code Online (Sandbox Code Playgroud)

git github git-commit git-lfs

6
推荐指数
1
解决办法
5984
查看次数

标签 统计

git ×1

git-commit ×1

git-lfs ×1

github ×1