Closed
Description
Currently, rust-by-example
takes up over 146 MB just for the git history. It would be nice to reduce this so contributors to rust-lang/rust don't have to download as much data (rust-lang/rust#76653 (comment)).
You can squash the branch with (https://stackoverflow.com/questions/1657017/how-to-squash-all-git-commits-into-one/1661283#1661283)
git checkout gh-pages
git update-ref -d refs/heads/gh-pages
git commit -m "Redirect to doc.rust-lang.org"
then squash the history with git gc --aggressive
. I verified locally that this reduces the size of .git to 84 MB. I'm not sure how to get github to run gc, I think you may have to wait for them to do it automatically (https://stackoverflow.com/a/9138899/7669110).
Metadata
Metadata
Assignees
Labels
No labels