You can do either that, or

git checkout -b <my_new_branch>

which will both create and switch to the new branch; you'll then need to do

git push origin <my_new_branch>

to get it up on central. For when you want to subsequently pull from
that branch, you should probably add something like this to your
.git/config:


[branch "my_new_branch"]
  remote = origin
  merge = refs/heads/my_new_branch

There's some git command that will do this for you, but I can't
remember it at the moment as I usually just do it by hand.

Kris

On Fri, Oct 10, 2008 at 3:37 PM, Derek Chen-Becker
<[EMAIL PROTECTED]> wrote:
> OK, I think I know how to create a new branch, but being a Git newb I really
> don't want to nuke anything. Do I just do a "git branch <my new branch
> name>" in my local repo?
>
> Thanks,
>
> Derek
>
> On Fri, Oct 10, 2008 at 3:21 PM, Kris Nuttycombe <[EMAIL PROTECTED]>
> wrote:
>>
>> I'm happy to test on Glassfish this weekend. Just let me know what
>> branch to pull from.
>>
>> Kris
>>
>> On Fri, Oct 10, 2008 at 3:14 PM, Derek Chen-Becker
>> <[EMAIL PROTECTED]> wrote:
>> > Well, I have it all working under Jetty using Atomikos as the underlying
>> > JTA
>> > provider. I'd like to test it out under JBoss and/or Glassfish before
>> > committing it to head, but would people be interested in testing on a
>> > branch
>> > version?
>> >
>> > Derek
>> >
>> > >
>> >
>>
>>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to