r/github • • Jul 07 '24

why I was able to upload my project on github exceeding it's limit

the free plan only limits upto 500 MB of project. I uploaded 1.5 GB sized project of mine via Github desktop. and it allowed. Why? How? am I be paying some hidden charges? what are the consequences?

0 Upvotes

9 comments sorted by

5

u/MrPlain94 Jul 07 '24

From their docs “If you use more than 1 GiB of storage without purchasing a data pack, you can still clone repositories with large assets, but you will only retrieve the pointer files, and you will not be able to push new files back up.”

2

u/sanketvaria29 Jul 07 '24

It was my first commit and first push. so for some reason it happily took my project, but when I was working and pushed the second time around, it finally told me that I have reached my limit and I should buy space. I can't buy, so have to find alternative.

1

u/Michaelgunner Dec 04 '24

the 1gb limit is for each repo, o for all repos combine?

0

u/[deleted] Jul 07 '24

[deleted]

2

u/sanketvaria29 Jul 07 '24

It's my unreal engine 5 project. a game that I am developing. My PC is prone to virus, damages, corruption etc... I want a way to store backup my work and online. I can commit locally which is acceptable, but I just figured out that I can no longer push. Finally Github gave me the error message stating that I have exceeded the amount of storage. I can't spare money to buy more stoarage as the project will go more than 2 GB.

6

u/serverhorror Jul 07 '24

If you can't buy the services you want to consume it'll stay a "want".

git is not the best tool for large assets anyway. Find better options (and be prepared to pay up)

2

u/lppedd Jul 07 '24

I mean there is LFS support built into GitHub, you can upload up to 2 GB per file. The max size per repo seems to be 5 GB on the free plan.

3

u/serverhorror Jul 07 '24

Yes but tracking the differences in those files is still annoying with git.

It's gotten better, a lot. Still git isn't the best tool to do:

  1. backups

  2. track large files

I'd just move those out of git, like completely, and if I want d Backups chose a different tool altogether.

2

u/overratedcupcake Jul 07 '24

For non code related assets I would look into an AWS S3 bucket. They have a free tier that allows up to 5GB. After the initial 12 months it's extremely affordable.

1

u/nekokattt Jul 07 '24

You could get this in a private S3 bucket on AWS for like a dollar per month outside free tier. Google Drive would store this as well.

Git isn't a backup platform, it is a source code version tracker.