marinebon / p2p

Pole to Pole website
https://marinebon.github.io/p2p
3 stars 1 forks source link

repo is slow to download & unusually large. #18

Closed 7yl4r closed 10 months ago

7yl4r commented 4 years ago

Easy fix by cleaning historical image data from git history. Something like:

git filter-branch --index-filter "git rm --cached --ignore-unmatch *.jpg" --tag-name-filter cat -- --all

This will rewrite history and a git push --force will be needed so extreme caution should be taken.