From: Rene Herman <rene.herman@keyaccess.nl>
To: Jeff King <peff@peff.net>
Cc: "Björn Steinbrink" <B.Steinbrink@gmx.de>,
git@vger.kernel.org, "Takashi Iwai" <tiwai@suse.de>
Subject: Re: git pull versus fetch/merge
Date: Mon, 21 Jul 2008 13:30:12 +0200 [thread overview]
Message-ID: <48847344.5060908@keyaccess.nl> (raw)
In-Reply-To: <20080721110900.GA8550@sigill.intra.peff.net>
On 21-07-08 13:09, Jeff King wrote:
> On Mon, Jul 21, 2008 at 12:58:10PM +0200, Rene Herman wrote:
>
>> Thank you. Also due to a reply on the ALSA list by Mark brown I now get
>> this. Yes, the remote was rebased while I had it setup as a remote here
>> it seems; only recently have it under this name, so I didn't think that
>> was the case. After a "git remote rm tiwai, git remote add tiwai <url>"
>> things work fine again as it fetched a completely new branch.
>
> Note that adding the remote with "git remote add" will add a fetchspec
> line like this:
>
> [remote "tiwai"]
> fetch = +refs/heads/*:+refs/remotes/tiwai/*
>
> where the '+' means to force fetching rewound branches instead of
> rejecting them (this is safe, since you are just overwriting tracking
> branches, not your local work).
Not here...
rene@7ixe4:~/src/linux/7ixe4$ git remote add tmp
git://git.alsa-project.org/alsa-kernel.git
rene@7ixe4:~/src/linux/7ixe4$ tail -3 .git/config
[remote "tmp"]
url = git://git.alsa-project.org/alsa-kernel.git
fetch = refs/heads/*:refs/remotes/tmp/*
rene@7ixe4:~/src/linux/7ixe4$ git --version
git version 1.5.5
> So this should not come up again; presumably your previous remote
> configuration was set up differently.
Must be something new or configuration dependent I presume? It's not an
option to git-remote it seems (but yes, thanks, I guess I'll add the +s
-- a failed merge is warning enough that I need to rebuild whatever
branch I'm pulling it into I guess).
Rene.
next prev parent reply other threads:[~2008-07-21 11:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-21 9:11 git pull versus fetch/merge Rene Herman
2008-07-21 10:23 ` Björn Steinbrink
2008-07-21 10:58 ` Rene Herman
2008-07-21 11:09 ` Jeff King
2008-07-21 11:09 ` Jeff King
2008-07-21 11:30 ` Rene Herman [this message]
2008-07-21 11:33 ` Björn Steinbrink
2008-07-21 11:39 ` Rene Herman
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=48847344.5060908@keyaccess.nl \
--to=rene.herman@keyaccess.nl \
--cc=B.Steinbrink@gmx.de \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
--cc=tiwai@suse.de \
/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).