Skip to content

Instantly share code, notes, and snippets.

@0x48piraj
Created December 11, 2023 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0x48piraj/cc251a310ca621011fd282dcf03e9e1b to your computer and use it in GitHub Desktop.
Save 0x48piraj/cc251a310ca621011fd282dcf03e9e1b to your computer and use it in GitHub Desktop.
Circumnavigation for fetching/cloning/downloading remote repository with LFS files

Error message

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

Solution

  1. Fork the target repository.
  2. Go to repo's settings.
  3. Enable "Include Git LFS objects in archives" under the Archives section.
  4. Go to the Danger Zone section, select "Archive this repository".
  5. Return to the archived repository.
  6. Download. Profit.
  7. Delete the fork.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment