{"thread":{"id":"26897","subject":"git gui equivalent to git checkout -b","startedAt":"2011-03-29T00:57:12Z","lastAt":"2011-03-31T17:52:02Z","messageCount":3,"participants":["Matt Seitz","Pat Thoyts","Matt Seitz (matseitz)"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"164515","messageId":"imrapc$f7u$1@dough.gmane.org","threadId":"26897","inReplyTo":null,"subject":"git gui equivalent to git checkout -b","fromName":"Matt Seitz","fromEmail":"matseitz@cisco.com","sentAt":"2011-03-29T00:57:12Z","receivedAt":"2011-03-29T00:57:12Z","isPatch":false,"sender":{"key":"matseitz@cisco.com","avatar":null},"body":"What is the git gui equivalent to \"git checkout -b\"?\n\nI have a working tree with changes that I don't want to commit to \"master\" \nyet.  So I want to create a new branch to contain my changes.\n\nIf I go to \"Branch->Checkout\", I don't see an option to create a new branch.\n\nIf I go to \"Branch->Create\", I see an option to \"Checkout After Creation\", \nbut I want to be sure that is the right choice.\n"},{"id":"164685","messageId":"87y63wpy0o.fsf@fox.patthoyts.tk","threadId":"26897","inReplyTo":"imrapc$f7u$1@dough.gmane.org","subject":"Re: git gui equivalent to git checkout -b","fromName":"Pat Thoyts","fromEmail":"patthoyts@users.sourceforge.net","sentAt":"2011-03-30T12:56:39Z","receivedAt":"2011-03-30T12:56:39Z","isPatch":false,"sender":{"key":"patthoyts@users.sourceforge.net","avatar":"https://avatars.githubusercontent.com/u/30739?v=4"},"body":"\"Matt Seitz\" <matseitz@cisco.com> writes:\n\n>What is the git gui equivalent to \"git checkout -b\"?\n>\n>I have a working tree with changes that I don't want to commit to \"master\" \n>yet.  So I want to create a new branch to contain my changes.\n>\n>If I go to \"Branch->Checkout\", I don't see an option to create a new branch.\n>\n>If I go to \"Branch->Create\", I see an option to \"Checkout After Creation\", \n>but I want to be sure that is the right choice.\n\nCreate.\n\n% echo junk >> git-gui.sh\n% git status --short --branch\n## master\n M git-gui.sh\n\n% git gui # selected Branch, Create, Name=pt/demo, Checkout after Creation\n% git status --short --branch\n## pt/demo\n M git-gui.sh\n\nIf we don't select 'Checkout after Creation' then we don't move to the\nnew branch. It is created but we remain on master.\n\n-- \nPat Thoyts                            http://www.patthoyts.tk/\nPGP fingerprint 2C 6E 98 07 2C 59 C8 97  10 CE 11 E6 04 E0 B9 DD\n"},{"id":"164809","messageId":"70952A932255A2489522275A628B97C30FE5BB2C@xmb-sjc-233.amer.cisco.com","threadId":"26897","inReplyTo":"87y63wpy0o.fsf@fox.patthoyts.tk","subject":"RE: git gui equivalent to git checkout -b","fromName":"Matt Seitz (matseitz)","fromEmail":"matseitz@cisco.com","sentAt":"2011-03-31T17:52:02Z","receivedAt":"2011-03-31T17:52:02Z","isPatch":false,"sender":{"key":"matseitz@cisco.com","avatar":null},"body":"> From: Pat Thoyts [mailto:patthoyts@users.sourceforge.net]\n> \n> \"Matt Seitz\" <matseitz@cisco.com> writes:\n> \n> >What is the git gui equivalent to \"git checkout -b\"?\n> >\n> >If I go to \"Branch->Create\", I see an option to \"Checkout After\nCreation\",\n> >but I want to be sure that is the right choice.\n> \n> Create.\n\nThanks for your help!\n"}]}