All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Grimm <koreth@midwinter.com>
To: Junio C Hamano <junkio@cox.net>
Cc: Luben Tuikov <ltuikov@yahoo.com>, git@vger.kernel.org
Subject: Re: New way of tracking remote branches -- question
Date: Fri, 05 Jan 2007 18:11:57 -0800	[thread overview]
Message-ID: <459F056D.8010705@midwinter.com> (raw)
In-Reply-To: <7v8xghariv.fsf@assigned-by-dhcp.cox.net>

Junio C Hamano wrote:
> I think other poeple on the list (especially the ones who wanted
> separate remote layout) prefer not to have the automatic fork of
> all remote branches.
>   

I'm a big fan of separate remote, and while I don't necessarily think 
automatic fork should be the default behavior, it might be nice to have 
an option for it, including setting up the appropriate config entries so 
push/pull do the expected things.

If that doesn't sound palatable, maybe an option to specify which remote 
branch to check out by default -- that way you can tell someone to run a 
particular git-clone command to get a local copy of a specific branch of 
yours. We just had a need for that here today, in fact. The current 
behavior is pretty screwy when you want to tell someone to clone your 
development environment to look at what you're doing; they don't have a 
good way of knowing which of your branches they're going to end up with, 
since you might be working in any of them when they happen to run 
git-clone. You end up having to say, "Run git-clone, then run 
git-branch, and if you don't see '* xyz', then run 'git-checkout -b xyz 
origin/xyz'."

-Steve

  reply	other threads:[~2007-01-06  2:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-05 23:02 New way of tracking remote branches -- question Luben Tuikov
2007-01-05 23:17 ` Junio C Hamano
2007-01-05 23:39   ` Junio C Hamano
2007-01-06  0:39     ` Luben Tuikov
2007-01-06  0:16   ` Luben Tuikov
2007-01-05 23:50 ` Junio C Hamano
2007-01-06  1:11   ` Junio C Hamano
2007-01-06  2:11     ` Steven Grimm [this message]
2007-01-06 14:10     ` Theodore Tso
2007-01-09  7:45     ` Luben Tuikov
2007-01-09  8:28       ` Junio C Hamano
2007-01-09  8:41         ` Luben Tuikov
2007-01-09  8:57   ` Martin Langhoff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=459F056D.8010705@midwinter.com \
    --to=koreth@midwinter.com \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    --cc=ltuikov@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.