Help Migrating a 4.5 GB Azure Devops Git Repo to Github #50872
Replies: 5 comments
-
|
There are file size limits, if your repository is that large maybe it contains files that are too large? https://docs.github.com/en/repositories/working-with-files/managing-large-files/about-large-files-on-github I also remember reading somewhere that the size of a push is limited, though I can't find it in the docs right now. But pushing 4 GB at once would probably hit that. 😅 |
Beta Was this translation helpful? Give feedback.
-
|
Hi @airtower-luna |
Beta Was this translation helpful? Give feedback.
-
|
You can try to do something like Mind that making the repository smaller would still probably be a good idea, a repository that's naturally that large is pretty rare, but I don't know your specific case. |
Beta Was this translation helpful? Give feedback.
-
|
I'm running into the same issue. I'm trying to migrate from svn to github. error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
Hi,
We are trying to migrate all our repos from Azure Devops to Github. And we are partially successful by migrating all the small repos. But we are having issue migrating a 4.8gb repo to github. The approaches we took for migration are:
By mirror cloning and pushing mirror using the following code:
git clone --bare $cloneUrl git remote add $githubUser/$githubRepo $githubOriginUrl git push --mirror $githubPushUrlAnd the error we come across is:
error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
send-pack: unexpected disconnect while reading sideband packet
Writing objects: 100% (1301469/1301469), 4.71 GiB | 1.69 MiB/s, done.
Total 1301469 (delta 967538), reused 1301469 (delta 967538), pack-reused 0
fatal: the remote end hung up unexpectedly
Everything up-to-date
By cloning and pushing a single branch using the below:
git clone --branch $branch --origin origin --progress -v $cloneUrl git remote rm origin git remote add origin $githubOriginUrl git push --progress -v $githubPushUrlAnd the error we come across is:
Compressing objects: 100% (301024/301024), done.
error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
send-pack: unexpected disconnect while reading sideband packet
Writing objects: 100% (1250103/1250103), 4.38 GiB | 3.76 MiB/s, done.
Total 1250103 (delta 933111), reused 1249264 (delta 932508), pack-reused 0
fatal: the remote end hung up unexpectedly
Everything up-to-date
Any help on how to debug and fix this issue would be awesome
Thanks and Regards
Beta Was this translation helpful? Give feedback.
All reactions