简体   繁体   中英

Android project assets consume enormous amount of space in Git repo

In my Android project, I have a lot of heavy binary assets under <project>/src/main/assets . There's numerous files that collectively add up to tens, maybe hundreds of megabytes. Git LFS might not be an option here due to the number of files, but I'm not sure. What would be everyone's recommendation to keep these files out of Git to keep main repository size small? This becomes especially important when hosting git repositories on cloud services like Bitbucket and Github.

There is an open-source project aimed at handling large files in .git. It is pretty popular and should help you in your case.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM