clean git history to get rid of big honkin files
aegershman opened this issue · comments
https://docs.gitlab.com/ee/user/project/repository/reducing_the_repo_size_using_git.html
https://rtyley.github.io/bfg-repo-cleaner/
rtyley/bfg-repo-cleaner#36
recommenders-team/recommenders#913
curl https://api.github.com/repos/aegershman/cf-trueup-plugin | grep size
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5896 100 5896 0 0 12625 0 --:--:-- --:--:-- --:--:-- 12625
"size": 135018,
java -jar bfg-1.13.0.jar --delete-folders Godeps cf-trueup-plugin.git
git reflog expire --expire=now --all && git gc --prune=now --aggressive
https://www.theguardian.com/info/developer-blog/2013/apr/29/rewrite-git-history-with-the-bfg
whoooaaa much better
Cloning into 'cf-trueup-plugin'...
remote: Enumerating objects: 656, done.
remote: Total 656 (delta 0), reused 0 (delta 0), pack-reused 656
Receiving objects: 100% (656/656), 126.09 KiB | 1.47 MiB/s, done.
Resolving deltas: 100% (253/253), done.