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

Re: [RFC] Not grabbing ALL branches and tags with git clone

From
Junio C Hamano <junkio@cox.net>
Date
Nov 14, 2005, 21:01 UTC
Message-ID
<7v7jbbx7ty.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20051114182616.GB19105@hpsvcnb.fc.hp.com>
Carl Baldwin <cnb@fc.hp.com> writes:
> Lately, I've found that 'git clone' gives me more than what I want.
> Especially when there are a lot of branches and tags in the remote
> repository.

When I make a clone of git.git, oftentimes the first thing I do is:

	$ git branch -D todo

But I've always considered that a rare exception (i.e. the todo branch is not related to the main source). What kind of unrelated things do you keep in a single repository such that you do not want to start out in sync with all of its branches?

Previous: Carl Baldwin
Message 2 of 2 in “[RFC] Not grabbing ALL branches and tags with git clone”
  1. Carl BaldwinNov 14, 2005
  2. Junio C HamanoNov 14, 2005

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.