main branches locally
main branches locally
Posted Oct 25, 2025 3:03 UTC (Sat) by josh (subscriber, #17465)In reply to: main branches locally by mathstuf
Parent article: Git considers SHA-256, Rust, LLMs, and more
> Forks live in the same repository as the main one. They are segregated using git namespaces (see `gitnamespaces(7)`) so that each access uses a different ref namespace and cannot "see" each other.
14 years ago, a friend and I wrote the first version of the git namespaces support. :)
This is very much what I had in mind when saying that there's no fundamental reason a fork "needs" a main branch, or a distinct main branch, in order to be tied to the original repository.
> I had never thought about these things but everything that gioele and Josh here said is a revelation about why git and the forges based on it feel so clunky to interact with.
❤️
