←back to thread

199 points elza_1111 | 1 comments | | HN request time: 0.235s | source
Show context
SillyUsername ◴[] No.44452402[source]
Git never forgets, this isn't really a shocking revelation.
replies(3): >>44452453 #>>44452484 #>>44452485 #
tux3 ◴[] No.44452484[source]
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.

replies(2): >>44452600 #>>44454335 #
1. lelandfe ◴[] No.44452600[source]
How to make git an elephant: https://donatstudios.com/yagni-git-gc