Re: Difficulties in advertising a new branch to git newbies

From: Santi Béjar <sbejar@gmail.com>
Date: 2007-02-01 06:27:52
On 1/30/07, Carl Worth <cworth@cworth.org> wrote:
> So here's a scenario I'm in right now. A user of my software reported a
> bug. I put together some patches to fix the bug and pushed them out as
> a new branch "proposed-fix" that I'd like the user to test.

Actually it is the same "problem" as when you want to work on the
non-HEAD remote branch.

Currently I do (with current git):

git clone git://...
git checkout -b ${branch} origin/${branch}
git config branch.${branch}.merge refs/heads/${branch}

then they could update this with just:

git pull

It would be nice if:

git clone -b ${branch} git://...

would be equivalent of the above three commands.

Santi
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Feb 01 06:28:35 2007

This archive was generated by hypermail 2.1.8 : 2007-02-01 06:30:43 EST