Github 克隆 - 如何使用 lfs 远程镜像:内部服务器错误

时间:2021-06-30 22:50:15

标签: git git-lfs

我正在尝试创建一个基于现有存储库的新存储库,现有存储库具有 LFS。这些是我正在执行的命令

git clone --bare https://oldrepo
cd oldrepo
git lfs fetch --all
git push --mirror https://newexistingrepo
Enumerating objects: 170024, done.
Counting objects: 100% (170024/170024), done.
Delta compression using up to 16 threads
Compressing objects: 100% (56305/56305), done.
Writing objects: 100% (170024/170024), 178.28 MiB | 2.34 MiB/s, done.
Total 170024 (delta 107837), reused 170024 (delta 107837), pack-reused 0
remote: Resolving deltas: 100% (107837/107837), done.
remote: Internal Server Error
Everything up-to-date

没有任何东西被复制到新的存储库中,有什么想法吗?

更新: 我设法通过将代码从 AWS 修改为增量迁移到代码提交来镜像 repo(适用于 github)

https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-push-large-repositories.html#how-to-push-large-repositories-sample

0 个答案:

没有答案
相关问题