unfif / nkdayscraper

How about today's horse racing in japan? Let's scrape !!!
1 stars 0 forks source link

過去に登録した大きなjsonやzipをリポジトリの全履歴から削除する #335

Open unfif opened 1 year ago

unfif commented 1 year ago
git clone https://github.com/unfif/nkdayscraper.git nkdayscraper_clean
cd nkdayscraper_clean
du -hs .git/objects
git-filter-repo --analyze
head -n30 .git/filter-repo/analysis/path-all-sizes.txt
git-filter-repo --path data/json/nkday.zip --path data/nkday.json --path data/json/jrarecords.zip --path data/jrarecords.json --path results01.json --path data/json/raceresults.zip --path data/json/raceresults.json --path es01.json --path nkcache/results01.json --path sqlite.db --invert-paths
git remote add origin https://github.com/unfif/nkdayscraper.git
git push -f origin --all
du -hs .git/objects