News for hackers. Stuff that matters.
Re:Linus Torvalds: Git proved I could be more than a one-hit... by johnmaguire2013 on Friday November 01, 2019 @10:48AM (#21419395)
Mm, I'm not sure I agree. The first correction shows that the command works as GP would have expected. The second command shows why checkout works too -- because it is checking out the branch (like the GP expected) in addition to creating a branch.

And I have already explained why `git reset --hard` makes more sense in my opinion.

I agree that Git can be hard to wrap your head around, and that the commands could be more intuitive. But Git is complex in large part because the underlying data structure can be tricky to reason about -- not because the UI on top of it is terrible.

Re:Linus Torvalds: Git proved I could be more than a one-hit... by dap on Friday November 01, 2019 @11:36AM (#21419909)
There may be complexity under the hood (I don't know), but in my experience, even pretty advanced users employ a pretty straightforward mental model that's considerably simpler than the commands themselves are to use.