Question about bare repositories

From: Andy Parkins <hidden>
Date: 2016-06-15 22:43:00

Hello,

I'm having an understanding problem, rather than a git problem.  It came about 
because I was looking at a repository using gitweb.  The repository was bare, 
and happened to have HEAD pointing at an old branch that hadn't been updated 
for a long time.  I was confused because I wasn't seeing new commits.  Once I 
set HEAD to master in the bare repository, gitweb showed the new commits.

All that led me to this question, which isn't a criticism, but has exposed a 
hole in my understanding of git.

Why does a bare repository have/need a HEAD?



Andy
-- 
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@gmail.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help