Oliver,

There are detailed instructions on the committer mailing list as to
how to create a remote branch for lift. For reference, I include them
here (originally from Mr Weir, so credit to him for being the git
master!):

**Creating a Remote Branch**
1. Create the remote branch
git push origin origin:refs/heads/new_feature_name

2. Make sure everything is up-to-date
git fetch origin

3. Then you can see that the branch is created.
git branch -r

* This should show ‘origin/new_feature_name’

4. Start tracking the new branch
git checkout --track -b new_feature_name origin/new_feature_name

*This means that when you do pulls that it will get the latest from
that branch as well.

5. Make sure everything is up-to-date
git pull

**Cleaning up Mistakes**
If you make a mistake you can always delete the remote branch:
git push origin :heads/new_feature_name

Hope that helps

Cheers, Tim

On May 29, 8:32 am, Heiko Seeberger <[email protected]>
wrote:
> Hm, never looked at those images before. But I guess it is OK.
> Heiko
>
> 2009/5/29 Oliver Lambert <[email protected]>
>
>
>
>
>
> > I have a problem with breaking a build on my first attempt of working with
> > git. I'm happy if I haven't, but what was concerning me was in the included
> > image (the network line looks like wip-ol-immu is directly next to master,
> > rather than on a separate branch - if this is normal, Im happy)
>
> > On Fri, May 29, 2009 at 4:22 PM, Heiko Seeberger <
> > [email protected]> wrote:
>
> >> Oliver,
> >> But that's perfect! What's your problem?
>
> >> There is one LOCAL wip-ol-immu branch and one REMOTE. That's how it is
> >> expected to be for a branch you pushed.
>
> >> Heiko
>
> >> 2009/5/29 Oliver Lambert <[email protected]>
>
> >>  I got that list of commands wrong, what I typed, was
>
> >>> git clone [email protected]:dpp/liftweb.git
> >>> git branch wip-ol-immu
> >>> git checkout wip-ol-immu
> >>> git push origin wip-ol-immu
>
> >>> When I do a git branch -a, I get two wip-ol-immu
> >>>   master
> >>> * wip-ol-immu
> >>>   origin/1.0_maint
> >>>   origin/HEAD
> >>>   origin/master
> >>>   origin/new_actor
> >>>   origin/wip-boolean-can
> >>>   origin/wip-dcb-derby-binary
> >>>   origin/wip-dcb-jpa-jta
> >>>   origin/wip-dcb-jpa-validation
> >>>   origin/wip-dcb-lift-jpa
> >>>   origin/wip-dpp-record
> >>>   origin/wip-marius-dom-optimizations
> >>>   origin/wip-ol-immu
> >>>   origin/wip-prettify
> >>>   origin/wip-record2-dpp
>
> --
> My blog: heikoseeberger.name
> Follow me: twitter.com/hseeberger
> OSGi on Scala:www.scalamodules.org
> Lift, the simply functional web framework: liftweb.net
--~--~---------~--~----~------------~-------~--~----~
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