starling-lab / BoostSRL

BoostSRL: "Boosting for Statistical Relational Learning." A gradient-boosting based approach for learning different types of SRL models.
https://starling.utdallas.edu
GNU General Public License v3.0
32 stars 21 forks source link

Clearing out large files #7

Closed hayesall closed 4 years ago

hayesall commented 6 years ago

Clearing out large files

A few sections of the repository history need to be rewritten in order to clear out datasets that were written at various points in time. This includes datasets which are now on boost-starai/BoostSRL-Misc and others which are still be removed from the master branch of this repo.

This can be done fairly easily with the bfg-repo-cleaner.

Overview of steps (after downloading the jar):

Clone a mirror of the repository (i.e. just the .git contents): git clone --mirror https://github.com/boost-starai/BoostSRL.git

Use the bfg to delete the contents of SampleTestbeds: java -jar bfg.jar --delete-folders SampleTestbeds --no-blob-protection BoostSRL.git/

Reflog and cleanup: git reflog expire --expire=now --all && git gc --prune=now --aggressive