Rituraj kumar
Rituraj kumar

Reputation: 356

What is the maximum size of Google source repository?

I have a file of size 5GB which I want to put it in the GCP source repository. I am unable to do so.

Upvotes: 0

Views: 1428

Answers (1)

eedrah
eedrah

Reputation: 2385

This says that for the free tier the limit is 1GB for each repository, and this says you get 50GB total for all repositories.

However, 1GB is a lot of space, and git is generally used for source code only, not compiled code or things that can be re-constructed or re-downloaded. See the discussion here, here and here (and linked answers on those pages). Perhaps you might like to check out the following to try and reduce the size of your repo:

  • Git Large File Storage (link for Google specific).
  • Use a package manager for the language that you are using, to install plugins and packages of the third-party code.
  • Use .gitignore to exclude build artifacts that you can reproduce with the source code.
  • If it's just one file, why use git at all? You could upload to another cloud file host, such as Google Drive or Dropbox.

Upvotes: 3

Related Questions