Re: Git ghost references
- From
Chris Leong <walkraft@gmail.com>
- Date
- Jan 3, 2012, 08:32 UTC
- Message-ID
- <CAJ6vYjd2YLUa82tUrXq+N=7+kdVxH8ryS64mKKkwhA6K+QfcDw@mail.gmail.com>
- In-Reply-To
- <4F02BAF9.1000206@kdbg.org>
I did have a production file in my .git and also an empty folder left in my remotes. Thanks heaps!
On Tue, Jan 3, 2012 at 7:23 PM, Johannes Sixt <j6t@kdbg.org> wrote:
Show 15 quoted lines
> Am 03.01.2012 00:42, schrieb Chris Leong: >> I seem to have a "ghost reference" - ie. I can check out a reference >> that doesn't appear to exist. Does anyone know what might cause this? >> >> ~/gaf-cvs (project-membership)$ g show-ref | grep production >> ~/gaf-cvs (project-membership)$ g co production >> Note: checking out 'production'. >> ... > > The most likely reason is that you have a ref 'production' directly in > the .git directory. Perhaps you or one of your scripts created it > accidentally using 'git update-ref production ae5b621', i.e., without > giving the full ref path name. > > -- Hannes