I am migrating some personal project repositories to Git from Mercurial. One of the projects relies on some non-changing, but large, shapefiles and SQLite databases. These files are important and need to live inside the repo so that everyone who viewed the project has access to them. Mercurial was easy to handle; I used the large file extension. largefiles automatically processes file additions / changes, without trying to parse the contents of files larger than X. That is, I could do hg addremove , and everything will work.
Git, like Mercurial, is not designed to track large files. However, I do not see such an extension. I looked at git-annex , but it seems to me that I need to manually track the files (i.e. I canβt just do git add -A arbitrarily), Also, if I read this right, git -annex seems to support large files in a completely separate repo. I want to save large files in my current repo in the directories that they currently live.
How do people deal with this situation? Of course, there are many projects that need to track large files that are integral to the work of the project. Will git -annex do this, or do I need some other extension?
Geoff source share