I recently installed Git-LFS to manage large files. I've quickly reached the 1 Gb storage limit, however, and now when I try to push commits I'm prompted with:
batch response: This repository is over its data quota. Purchase more data packs to restore access.
and failure to push. So now I can't actually push to the repo.
Purchasing more data packs is not an option, however storing large files locally (i.e. not having them version controlled) is.
So what I would like to do is:
- Stop monitoring the files that LFS monitors (currently set to all *.csv in .gitattributes).
- Remove those files from git, i.e. so that they don't contribute to any repo size.
- Still have those files present locally.
- Uninstall Git-LFS.
- Disrupt the history as little as possible, ideally so only the removed files are affected.
- Now that the repo size should be smaller, get back to being able to push/pull as normal.
I've found bits and pieces of info around where people have exceeded the limit, but nothing that can do the above points.
FWIW I typically use Tortoise Git but of course have Git Shell too.