[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdXcMY2uBNGvZS5rKGuzPsxUC=8YnJbJO8O0h-YJ+mu6TA@mail.gmail.com>
Date: Mon, 10 Dec 2012 22:16:32 +0100
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: Missing tags in my local stable git repo
On Mon, Dec 10, 2012 at 9:44 PM, Steven Rostedt <rostedt@...dmis.org> wrote:
> Otherwise I don't get the updates from stable when I do a remote fetch
> of my local copies. Would something like this work?
>
> [remote "origin"]
> fetch = +refs/*:refs/*
> mirror = true
> url = git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> [remote "stable"]
> url = git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
> fetch = +refs/heads/*:refs/heads/*
>
> That is, if I have a single linus-stable.git repo that all my other
> repos use as an alternate and a remote, I could have this repo updated
> with:
That's actually what I have as my "master" repository.
My work repository references this as an alternate, and its .git subdirectory is
a symlink to space that is backed up (the alternates don't need backup as half
mirrors Linus' tree and the stable tree).
> git fetch
> git remote update stable
A single "git remote update" will fetch objects for both origin and the stable
remote.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists