Using media files from GIT on Bitbucket?

I want to use GIT in a game project that by its very nature will have media assets. During development, they can change quite often. I reviewed Bitbucket, as their service is second to none, and I have used it for numerous projects in the past.

While they claim to offer unlimited storage, I am worried that the size of the repository will become quite large and possibly "unfair."

Q1. Perhaps this is a problem?

Q2. If so, is there a way to prevent GIT from storing multiple versions of media assets in its archives. I understand that this will prevent version control in media resources, but I see this as a legitimate compromise.

+4
source share
2 answers

This is also a problem if you have a lot of collaborators and many places where you need to clone this repo: the cost of cloning a large repo will increase, and certain operations will slower over time.

Saving large files in a separate unique reference address is better, and you can still communicate with your git messages with a system such as git-annex (since git does not support this mechanism ).

+1
source

A git repository grows very fast if you commit many binary files and change them often.

However, you need a backup for your media files, right? Put in the same repository. Why use a different method when you already have the perfect version control solution?

The only reason this is not done is not software development at all. It's about the price of disk space. If the price for a large repository does not bother you, just go for it and you will be happy.

0
source

Source: https://habr.com/ru/post/1499985/


All Articles