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

Re: Why is git clone not checking out files?

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jan 30, 2007, 19:15 UTC
Message-ID
<Pine.LNX.4.63.0701302013420.22628@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<17855.39008.920685.62837@lisa.zopyra.com>
Hi,
On Tue, 30 Jan 2007, Bill Lear wrote:
Show 8 quoted lines
> On Tuesday, January 30, 2007 at 11:04:57 (-0800) Linus Torvalds writes:
> 
> >Anyway, it's certainly easy to fix. Bill, you can either:
> >
> > - just rename the "topic" branch to "master"
> 
> I don't think I want this.  I want to know I'm on the topic branch of 
> that repo, anything else really makes me nervous.

The name in the bare repository does not matter as much as your _local_ name.

> > - change the HEAD to point to "topic" rather than "master".
> 
> Same for this...[Thanks for the advice, nevertheless.]

If you have only _one_ branch in the upstream repo, why don't you let "HEAD" (in that repo) point to that branch, but to a non-existent "master"? That does not make sense.

Ciao, Dscho

Previous: Bill LearNext: Bill Lear
Message 10 of 22 in “Why is git clone not checking out files?”
  1. Bill LearJan 30, 2007
  2. Jakub NarebskiJan 30, 2007
  3. Bill LearJan 30, 2007
  4. Shawn O. PearceJan 30, 2007
  5. Bill LearJan 30, 2007
  6. Linus TorvaldsJan 30, 2007
  7. Jakub NarebskiJan 30, 2007
  8. Linus TorvaldsJan 30, 2007
  9. Bill LearJan 30, 2007
  10. Johannes SchindelinJan 30, 2007
  11. Bill LearJan 30, 2007
  12. Bill LearJan 30, 2007
  13. Bill LearJan 30, 2007
  14. Bill LearJan 30, 2007
  15. Jakub NarebskiJan 30, 2007
  16. Jakub NarebskiJan 31, 2007
  17. Bill LearJan 30, 2007
  18. Shawn O. PearceJan 30, 2007
  19. Jakub NarebskiJan 30, 2007
  20. Bill LearJan 30, 2007
  21. Linus TorvaldsJan 30, 2007
  22. Linus TorvaldsJan 30, 2007

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.