git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC] On how to manage tags fetched from remote?

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 19, 2008, 02:43 UTC
Message-ID
<7vzljwsads.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<91b13c310811181827y4e37815egaa34ba164d9f4269@mail.gmail.com>
"rae l" <crquan@gmail.com> writes:
Show 8 quoted lines
> I use one git working tree to track many remote git repository:
> ...
> 2. Store a no-tags config item to the remote config, which like:
>   [remote "linux-iscsi"]
> 	url = git://git.kernel.org/pub/scm/linux/kernel/git/mnc/linux-2.6-iscsi.git
> 	fetch = +refs/heads/*:refs/remotes/linux-iscsi/*
> 	fetch-tags = false
>   when git fetch read the no-tags config, it will disable tags from this remote;

Slurping very many (possibly unrelated) projects into one repository is your choice (I wouldn't comment if it is a sane choice -- I do not have time to ponder the pros and cons. If it suits your needs, that's good enough) If you do not want tags from some repositories but do want from some others copied to that repository, per remote configuration feature is exactly how it was designed to be used.

Previous: rae lNext: rae l
Message 2 of 4 in “[RFC] On how to manage tags fetched from remote?”
  1. rae lNov 19, 2008
  2. Junio C HamanoNov 19, 2008
  3. rae lNov 19, 2008
  4. Kalle Olavi NiemitaloNov 19, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.