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

Re: git show on bare repository?

From
Sskillzero@gmail.com <skillzero@gmail.com>
Date
Aug 2, 2009, 06:08 UTC
Message-ID
<2729632a0908012308t48623e42nc1222d9c2afd2fc8@mail.gmail.com>
In-Reply-To
<20090802044402.GA21369@coredump.intra.peff.net>
On Sat, Aug 1, 2009 at 9:44 PM, Jeff King<peff@peff.net> wrote:
> Either you don't have a 'master' ref, or the commit there doesn't have
> 'file.txt'. Try "git show master" and "git show master^{tree}" to see
> which.

It turns out the file just didn't exist because the repository is at a slight different path.

Thanks for the help. I didn't know about the ^{tree} thing.
Previous: Jeff King
Message 3 of 3 in “git show on bare repository?”
  1. skillzero@gmail.comAug 2, 2009
  2. Jeff KingAug 2, 2009
  3. skillzero@gmail.comAug 2, 2009

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.