Re:Things I wish everyone knew about Git (Part I)
by shikoba on Thursday June 30, 2022 @05:40AM
(#31930386)
> branch that aren't branch at all
What do you mean? Git branches are branches. What is a branch for you? And why git branches aren't?
> Mercurial branches don't work like this: they are actually stored as part of each commit, so even with ambiguous commit graphs each commit still has a well-defined branch.
I wonder which operation would not be possible with Git had Git gone that way. And hence I wonder too what's that operation that Git can do and that Mercurial can't.
Honestly switching from Mercurial to Git this weird "branch that aren't branch at all" was the single most WTF feature of Git.