How to import local git repo to Azure DevOps repo

Andre Bounames 0 Reputation points
2023-08-20T12:30:58.3066667+00:00

I am trying to import my local Unity Git repo to the Azure DevOps repo. I tried pushing the entire project but received an error saying that I am not allowed to make pushes for files more than 5120 MB. I tried then importing it directly in the Azure DevOps in a newly created repo but it expects a URL (for example GitHub). I only have a git repo locally on my PC, which is approximately 16GB. What options do I have?

Community Center Not monitored
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AirGordon 7,150 Reputation points
    2023-08-20T13:23:00.7+00:00

    I'd approach the problem by starting fresh, and likely taking the opportunity to move compiled/large artefacts to other stores such as Azure Storage / Azure Artefacts or even just a different repo. I realise that this probably isn't palatable, as you're likely seeking to retain the commit history.

    We recommend keeping your repository below 10 GB for optimal operation. If your repository exceeds this size, consider using Git-LFS, Scalar, or Azure Artifacts to refactor your development artifacts. REF: https://learn.microsoft.com/en-us/azure/devops/repos/git/limits?view=azure-devops#repository-size

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.