Skip to content

Removing large files blobs from github with bfg

Callum Newman edited this page Sep 17, 2024 · 3 revisions

Steps to clean large files from Repository

  1. Download bfg.jar file

  2. Move it to the folder where you want to execute the bfg file

  3. Open command prompt and go to that folder

  4. Call batchfile 'LargeFileRemovalFromGitHub' with parameter repository path and git name eg LargeFileRemovalFromGitHub git://example.com/some-big-repo.git some-big-repo.git

  5. Once executed batch file it wil update git hub with reduced blob/large files from the github Note: make sure bfg jar file and batch file should be at same level in folder structure.

reference for bfg https://rtyley.github.io/bfg-repo-cleaner/



Clone this wiki locally