3 ms·
Sure, but rewriting it manually is a tedious process. Should be automated on github side, to keep repo size approx constant over time.
by cabirum 4y ago
Sure, but rewriting it manually is a tedious process. Should be automated on github side, to keep repo size approx constant over time.
- Arnavion 4y agoThat would be silent data loss, so absolutely should not be automated.
- blueflow 4y agoGithub cant rewrite the refs on their own without breaking users stuff. They can only repack the existing objects, the squashing needs to be done by the developers. Also its a non-fast-forward thing, so it needs to be coordinated between the git users anyways.
- saghm 4y agoI think this is what `git filter-branch` its supposed to be for: https://git-scm.com/docs/git-filter-branch https://git-scm.com/docs/git-filter-branch I've never used it before, but from what I understand, it's very powerful but also very confusing and easy to mess up, and of course with a sort of vague ambiguous name that makes it hard to discover; in other words, it's quintessentially git.
- deleted 4y ago[deleted]