How to commit to hal-0_5_11-branch
Joe Marcus Clarke
marcus at FreeBSD.org
Tue Mar 18 11:00:06 PDT 2008
On Tue, 2008-03-18 at 18:48 +0100, Danny Kukawka wrote:
> On Dienstag, 18. März 2008, Joe Marcus Clarke wrote:
> > How do I checkout and commit to hal-0_5_11-branch? I've tried git
> > checkout hal-0_5_11-branch and git pull origin
> > hal-0_5_11-branch:hal-0_5_11-branch, but neither properly set my branch
> > to hal-0_5_11-branch. I either get that the branch does not exist, or
> > the merge fails because NEWS is not up to date, or there are conflicts
> > in the hotplug.c file.
> >
> > Every git tip sheet I've read says that this should be really simple,
> > but I can't find a combination that works.
>
> Git is everything, but not that simple (IMO), it really lacks good tutorials
> for such normal stuff as commit to a branch, create a remote branch ... this
> really sucks.
>
> I found that in a "git for SVN user"-tutorial and it worked for me:
>
> 1) checkout git master
> 2) git checkout --track -b hal-0_5_11-branch origin/hal-0_5_11-branch
> 3) commit your changes to the local branch (hal-0_5_11-branch)
> 4) push the commit
Thanks! That worked.
Joe
--
Joe Marcus Clarke
FreeBSD GNOME Team :: gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/hal/attachments/20080318/d1939dc4/attachment.pgp
More information about the hal
mailing list