mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Barkalow <barkalow@iabervon.org>
To: Jack Howarth <howarth@bromo.msbb.uc.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: merging branches remotely with git?
Date: Thu, 24 Jul 2008 15:09:18 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.1.00.0807241453470.19665@iabervon.org> (raw)
In-Reply-To: <20080724173030.GA7609@bromo.msbb.uc.edu>

On Thu, 24 Jul 2008, Jack Howarth wrote:

>     I am trying to do a local merge of the linus-kernel git and
> the my-wireless-testing git. Is this possible? I have cloned both
> locally with...
> 
> git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> git clone git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/my-wireless-testing.git
> 
> I thought from the git documentation that I was supposed to be able to
> create a merge automatically with...
> 
> git merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/my-wireless-testing.git
>
> however this reports...
> 
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git - not something we can merge
> 
> Any advice on how this can be done would be appreciated.

In the my-wireless-testing directory:

git pull git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

or:

git pull ../linux-2.6.git (which gets it from the other clone you made).

"git merge" is for merging branches you have (copies of) in the same 
repository. There's also "git fetch" for getting local copies of branches 
(and tags) elsewhere, and "git pull" does a "fetch" and a "merge", with 
the ability to put the information only in a temporary location in 
between.

What part of the documentation confused you? It probably needs to be 
clarified.

	-Daniel
*This .sig left intentionally blank*

  reply	other threads:[~2008-07-24 19:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-24 17:30 Jack Howarth
2008-07-24 19:09 ` Daniel Barkalow [this message]
2008-07-24 22:48   ` Jack Howarth
2008-07-24 23:10     ` Daniel Barkalow
2008-07-25 11:22     ` git snapshots (Was: Re: merging branches remotely with git?) Uwe Kleine-König
2008-07-25 11:42       ` Mark McLoughlin
2008-07-25 23:44         ` Jack Howarth
2008-07-26  2:13           ` Bart Trojanowski

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=alpine.LNX.1.00.0807241453470.19665@iabervon.org \
    --to=barkalow@iabervon.org \
    --cc=howarth@bromo.msbb.uc.edu \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®