[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master branch ambiguous
From: |
Johannes Schindelin |
Subject: |
Re: master branch ambiguous |
Date: |
Mon, 13 Nov 2006 00:59:39 +0100 (CET) |
Hi,
On Sun, 12 Nov 2006, Han-Wen Nienhuys wrote:
> i've just finished setting up the git repository on savannah, and I've hit the
> first snag. There are two master branches (one for lilypond, and web/master
> for the website). This makes pushing a bit awkward. You have to use
>
> git push ssh:-savannah-addres- mybranch:refs/heads/master
>
> to push to the main master branch.
I find it very convenient to set a "remote": after doing
$ git-repo-config remote.sav.url ssh:-savanna-address-
$ git-repo-config remote.sav.push mybranch:refs/heads/master
once, you can do the aforementioned push via
$ git push sav
Hth,
Dscho