News for hackers. Stuff that matters.
Re:Git Is Simpler Than You Think by fr0sty on Wednesday September 07, 2011 @04:55PM (#2971399)
Not at all. Where did you come up with that? That would merge in any commits in master not already in experimental and the next command would fail because a branch 'master' already exists.

To do what you are describing you would do this (or something similar:

    git checkout master; git merge experimental
Re:Git Is Simpler Than You Think by watmough on Wednesday September 07, 2011 @11:42PM (#2972542)
Thanks, obviously I'm missing some concept somewhere.
Re:Git Is Simpler Than You Think by rahoulb on Thursday September 08, 2011 @09:07AM (#2973728)
The checkout command moves you off the experimental branch and back onto the master branch.

The merge command then takes the commits in experimental that aren't in master and puts them into master.

Re:Git Is Simpler Than You Think by watmough on Thursday September 08, 2011 @11:54AM (#2974365)
Thanks, I think I may have been misusing

    git branch [some name]
I'll take a look at some of the suggested tutorials again. Thanks all. That said, I pretty much do straight-ahead main-line development, so this isn't a huge problem right now. I do most of my development after midnight, so there isn't a huge cognitive headroom left...