Created
February 26, 2019 09:31
-
-
Save majindageta/9558f7216cd172c43adfd3782168165a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://rtyley.github.io/bfg-repo-cleaner/ | |
clone del progetto: `git clone --mirror git://example.com/some-big-repo.git` | |
dentro questa cartella copiare il file java bfg | |
da terminale | |
`java -jar bfg-1.13.0.jar --delete-files sample.ts` | |
dopo bisogna: | |
`git reflog expire --expire=now --all && git gc --prune=now --aggressive` | |
e infine pushare (fatto quasi sempre da GUI) | |
Una volta fatto questa la history del branch è morta: bisogna riscaricarlo da capo. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment