git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Josef Weidendorfer <Josef.Weidendorfer@gmx.de>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: Branch relationships
Date: Mon, 15 May 2006 03:48:53 +0200	[thread overview]
Message-ID: <200605150348.53879.Josef.Weidendorfer@gmx.de> (raw)
In-Reply-To: <7vslncyxez.fsf@assigned-by-dhcp.cox.net>

On Monday 15 May 2006 01:55, you wrote:
> > After a "git clone", we would have
> >
> >  [remote "origin"]
> >    url = ...
> >    fetch = master:origin
> >
> >  [branch "master"]
> >    origin = "origin" ; upstream of master is local branch "origin"
> 
> Doesn't that arrangement force people to use tracking branches?

I think we already had the same discussion some time ago ;-)
This asks for support of a way to specify a remote origin branch
without any local tracking, like
  origin = "<remotebranch> of <remote>"

But not supporting this in a first step should be no problem, as
you always can do "git pull somewhere that-head" directly.

A side-effect of the origin-arrangement would be that branching
off a tracking branch would automatically update it on pull from
the new branch. I would see this as improvement of usability as
"generating a local development branch from a remote one" does
not need any special command.

  reply	other threads:[~2006-05-15  1:49 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-13 20:23 git diff: support "-U" and "--unified" options properly Linus Torvalds
2006-05-13 20:30 ` Junio C Hamano
2006-05-13 20:59 ` Junio C Hamano
2006-05-13 21:05   ` Linus Torvalds
2006-05-13 21:22     ` Junio C Hamano
2006-05-13 22:39       ` Linus Torvalds
2006-05-15  0:39         ` Junio C Hamano
2006-05-15  0:58           ` Linus Torvalds
2006-05-15  1:51             ` Junio C Hamano
2006-05-15  3:49             ` Linus Torvalds
2006-05-14  7:00       ` Martin Langhoff
2006-05-14 12:57       ` Josef Weidendorfer
2006-05-14 17:36         ` Junio C Hamano
2006-05-14 20:49           ` Branch relationships (was:Re: git diff: support "-U" and "--unified" options properly) Josef Weidendorfer
2006-05-14 21:20             ` Branch relationships Junio C Hamano
2006-05-14 22:01               ` Josef Weidendorfer
2006-05-14 22:19                 ` Junio C Hamano
2006-05-14 23:04                   ` Josef Weidendorfer
2006-05-14 23:55                     ` Junio C Hamano
2006-05-15  1:48                       ` Josef Weidendorfer [this message]
2006-05-15  2:11                         ` Junio C Hamano

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=200605150348.53879.Josef.Weidendorfer@gmx.de \
    --to=josef.weidendorfer@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).