Re: git show on bare repository?
- From
- skillzero@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.