News for hackers. Stuff that matters.
Re:Git koans by aidenn0 on Monday April 08, 2013 @12:21PM (#5512647)
More people use git; I'm becoming increasingly convinced that few of them actually know git.
Re:Git koans by the_mitsuhiko on Monday April 08, 2013 @12:25PM (#5512673)
> More people use git; I'm becoming increasingly convinced that few of them actually know git.

And yet I have noticed that people find merging and branching much easier than in mercurial. Few people understand the implications of named branches in hg.

Re:Git koans by Anderkent on Monday April 08, 2013 @05:03PM (#5514599)
> And yet I have noticed that people find merging and branching much easier than in mercurial.

That's the first time I've heard this opinion - do you know what kind of complaints people have?

In my experience, it's much easier to say 'When you start work on an issue, start a branch called 'issue-XXX', then once you're done we will merge it into the default branch'. I've never seen much confusion in response to that.

Re:Git koans by aidenn0 on Monday April 08, 2013 @01:05PM (#5512943)
Yeah, named branches in hg are just weird.
Re:Git koans by reinhardt on Monday April 08, 2013 @04:14PM (#5514242)
Not as weird as hijacking the term "branch" to mean a symlink to a ref that is not part of the history. Then again why make it easier by naming it to something more intuitive, like say, "bookmark".
Re:Git koans by qznc on Wednesday April 10, 2013 @07:24AM (#5524427)
Because a bookmark is usually immutable. If I bookmark "http://news.ycombinator.com has "Hacker News" it will be same URL forever.

In contrast, git branches symlink to a different ref, whenever you commit to it.

A git tag could be called bookmark intuitively.