On Wed, Nov 18, 2009 at 03:08:34AM -0800, Jeenu wrote:
> I've named my branches in an a.b.c.d fashion, just to track them
> according to their hierarchical structure. I can see all of them via.
> 'git branch'. But surprisingly, I noticed that my .git/refs/heads
> don't contain none of them. I could locate them only in .git/logs/refs/
> heads/. I don't know how or why they ended up there. All I remember is
> doing some branch renames.
> I don't face any problems with checking out back and forth or with
> committing, but I get an ambiguous warnings occasionally. What's the
> best way to restore 'order' here? I mean to get them back inside refs/
> heads. Would a plain copy do?
The refs may be packed in .git/packed-refs, if your repository got gc'd
recently - that is nothing to worry about.
Petr "Pasky" Baudis
A lot of people have my books on their bookshelves.
That's the problem, they need to read them. -- Don Knuth
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to
For more options, visit this group at