* git gui equivalent to git checkout -b
@ 2011-03-29 0:57 Matt Seitz
2011-03-30 12:56 ` Pat Thoyts
0 siblings, 1 reply; 3+ messages in thread
From: Matt Seitz @ 2011-03-29 0:57 UTC (permalink / raw)
To: git
What is the git gui equivalent to "git checkout -b"?
I have a working tree with changes that I don't want to commit to "master"
yet. So I want to create a new branch to contain my changes.
If I go to "Branch->Checkout", I don't see an option to create a new branch.
If I go to "Branch->Create", I see an option to "Checkout After Creation",
but I want to be sure that is the right choice.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: git gui equivalent to git checkout -b
2011-03-29 0:57 git gui equivalent to git checkout -b Matt Seitz
@ 2011-03-30 12:56 ` Pat Thoyts
2011-03-31 17:52 ` Matt Seitz (matseitz)
0 siblings, 1 reply; 3+ messages in thread
From: Pat Thoyts @ 2011-03-30 12:56 UTC (permalink / raw)
To: Matt Seitz; +Cc: git
"Matt Seitz" <matseitz@cisco.com> writes:
>What is the git gui equivalent to "git checkout -b"?
>
>I have a working tree with changes that I don't want to commit to "master"
>yet. So I want to create a new branch to contain my changes.
>
>If I go to "Branch->Checkout", I don't see an option to create a new branch.
>
>If I go to "Branch->Create", I see an option to "Checkout After Creation",
>but I want to be sure that is the right choice.
Create.
% echo junk >> git-gui.sh
% git status --short --branch
## master
M git-gui.sh
% git gui # selected Branch, Create, Name=pt/demo, Checkout after Creation
% git status --short --branch
## pt/demo
M git-gui.sh
If we don't select 'Checkout after Creation' then we don't move to the
new branch. It is created but we remain on master.
--
Pat Thoyts http://www.patthoyts.tk/
PGP fingerprint 2C 6E 98 07 2C 59 C8 97 10 CE 11 E6 04 E0 B9 DD
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: git gui equivalent to git checkout -b
2011-03-30 12:56 ` Pat Thoyts
@ 2011-03-31 17:52 ` Matt Seitz (matseitz)
0 siblings, 0 replies; 3+ messages in thread
From: Matt Seitz (matseitz) @ 2011-03-31 17:52 UTC (permalink / raw)
To: git; +Cc: Pat Thoyts
> From: Pat Thoyts [mailto:patthoyts@users.sourceforge.net]
>
> "Matt Seitz" <matseitz@cisco.com> writes:
>
> >What is the git gui equivalent to "git checkout -b"?
> >
> >If I go to "Branch->Create", I see an option to "Checkout After
Creation",
> >but I want to be sure that is the right choice.
>
> Create.
Thanks for your help!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-31 17:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-29 0:57 git gui equivalent to git checkout -b Matt Seitz
2011-03-30 12:56 ` Pat Thoyts
2011-03-31 17:52 ` Matt Seitz (matseitz)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.