News for hackers. Stuff that matters.
Re:Things I wish everyone knew about Git (Part I) by TacticalCoder on Wednesday June 29, 2022 @08:06PM (#31927267)
Yeah I much preferred Mercurial from that standpoint. And branches there were correctly named branch. But you kinda, sorta, can get "what should have been called branches but don't exist in Git" by using named tags when you "start a branch" (a real branch I mean, not a Git "branch").

> 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.

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?

Re:Things I wish everyone knew about Git (Part I) by pdonis on Thursday June 30, 2022 @01:04PM (#31935423)
Read the post of mine that TacticalCoder was responding to.
Re:Things I wish everyone knew about Git (Part I) by shikoba on Thursday June 30, 2022 @02:21PM (#31936420)
I already read it. It's not clear to me.