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 1 year ago

7yl4r commented 5 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.