Closed mewmew closed 6 years ago
Approach taken to split examples into dedicated repo:
From https://stackoverflow.com/a/17864475
cd pixel
git subtree split -P examples -b examples-only
cd ..
mkdir pixel-examples
cd pixel-examples
git init
git pull ../pixel examples-only
Size of pixel-examples repo: 90 MB.
ref: https://github.com/faiface/pixel/issues/135
Approach used to clean the main repo:
ref: https://dalibornasevic.com/posts/2-permanently-remove-files-and-folders-from-git-repo
ref: https://blog.ostermiller.org/git-remove-from-history
Went from 90 MB to 4 MB.