We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Size starts to become big... Would like to remove some obsolete history, hope it does not break possible forks/clones...
Possible:
git clone https://github.com/belgattitude/nextjs-monorepo-example.git cd nextjs-monorepo-example git filter-repo --invert-paths --path .yarn --path apps/web-app --path apps/blog-app --path packages/bar --path packages/foo git filter-repo --invert-paths --use-base-name --path-glob '*water*.png' --path-glob '*water*.jpg'
-> du -h .git -> 260Mb to 53Mb
du -h .git
Optionnally all lock files
git filter-repo --invert-paths --path yarn.lock
To make it down to 13Mb
Then
git remote add origin https://github.com/belgattitude/nextjs-monorepo-example.git git push origin --force --all
I'll investigate a bit
https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository
The text was updated successfully, but these errors were encountered:
https://www.jonathancreamer.com/how-we-shrunk-our-git-repo-size-by-94-percent/
Sorry, something went wrong.
No branches or pull requests
Size starts to become big... Would like to remove some obsolete history, hope it does not break possible forks/clones...
Possible:
->
du -h .git
-> 260Mb to 53MbOptionnally all lock files
To make it down to 13Mb
Then
I'll investigate a bit
The text was updated successfully, but these errors were encountered: