3 ms·
Git does forget, it has a gc mechanism specifically for forgetting. GitHub can't use the native git gc, and apparently doesn't have their own fork-aware and we
by tux3 1y ago
Git does forget, it has a gc mechanism specifically for forgetting.
GitHub can't use the native git gc, and apparently doesn't have their own fork-aware and weird-cross-repo-merge-aware gc, so they might just not have built a way to track which commits are dangling.
But that's not obvious at all.
- lelandfe 1y agoHow to make git an elephant: https://donatstudios.com/yagni-git-gc https://donatstudios.com/yagni-git-gc
- SillyUsername 1y agoAh right, so forking the codebase, then deleting the original repo forces git to forget all copies. Gotcha thanks for the enlightenment.