Search code examples
gitgithubgit-lfs

This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access


H! I installed LFS in my github repository to track my *.csv files but when someone else tried to upload other csv and I wanted to make the pull of my repository this was the result

This repository is over its data quota. Account responsible for
LFS bandwidth should purchase more data packs to restore access.

My question is How can I recover the access to my repository, it doesn´t matter if I can not use anymore LFS I will move my csv files to other place, I just want to recover the access to my github repository and being able to push and pull.


Solution

  • I'd need more info to fully understand the current situation, such as the current size of the repo, how many times you've pushed, how many other colloborators are working in the same repo, but here are several possible courses of action:

    1. If you don't have any collaborators (you are the only user), it's quite possible that you have a full copy of the repo locally. Are all the files intact locally?
    2. Wait until next month, when you get another 1 Gb+ of free bandwidth, download the repo first thing, then change your settings.
    3. It may be possible to download the latest commit as a zip file directly on the Github website if only command line access has been limited, not sure if this option is available with LFS.
    4. Pay to get it unlocked
    5. Check the options to see if Git-LFS can be disabled remotely (I don't think this is possible)

    Once you can get the full repo cloned locally, you can turn off Git-LFS, make a commit, and either push back up to the current repo, or push up to a new repo (either at Github or a different hosting site). I'm not 100% sure if disabling Git-LFS in the config locally will also disable it fully on Github for the remote repo.