Ya i am able to see the files and folders inside the repository using web interface ( i mean gitweb) Permission to the repo is 777. Run the cmd: git update-server-info, Still getting the same error, while cloning. Is there anything specially to be done for http accessing. When i googled it says the curl version must be 7.15 and above and i have the updated curl only. Kindly help.
On Jul 10, 9:03 am, Peter <liuhui...@gmail.com> wrote: > May be You need check your folders' and files' permission. > To see that did you http server permit to access all of your git files. > > On Fri, Jul 9, 2010 at 10:32 PM, sudharsan chandrababu > > > > <meetsudhar...@gmail.com> wrote: > > Hi Peter, > > > I really appreciate your immediate response. > > > I have already run the command git-update-server-info more than 10 > > times in my server and also the hook script (post-update) is enabled. > > > what i notice is whenever i do a git clone the error (warning: remote > > HEAD refers to nonexistent ref, unable to checkout) > > comes out. I am able to see the folder which is cloned but without any > > contents. > > The .git inside the cloned folder where the /refs/heads/<empty> there > > is nothing in it. Hence no contents in the cloned folder. > > > But when i do a clone using git:// i am able to see everything inside > > the cloned folder. > > > Kindly help as i am new to git. > > > Regards, > > Darshan > > > On Jul 9, 1:43 pm, Peter <liuhui...@gmail.com> wrote: > >> maybe you don't execute "git update-server-info " in server. > > >> You can try execute it. > > >> :) > > >> On Fri, Jul 9, 2010 at 4:14 PM, sudharsan chandrababu > > >> <meetsudhar...@gmail.com> wrote: > >> > HI all, > > >> > Could anyone resolve this problem. Whenever i try to git clone using > >> > http protocol i am getting the following error: > >> > warning: remote HEAD refers to nonexistent ref, unable to checkout > > >> > I can view the contents of the repository using gitweb and also the > >> > git daemon is working properly. > > >> > I dont know why i am not able to do a git clone via http, which is > >> > possible with git protocol. > > >> > Its really frustrating me now. > > >> > Thanks in Advance. > > >> > -- > >> > 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 > >> > git-users+unsubscr...@googlegroups.com. > >> > For more options, visit this group > >> > athttp://groups.google.com/group/git-users?hl=en.-Hide quoted text - > > >> - Show quoted text - > > > -- > > 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 > > git-users+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/git-users?hl=en.- Hide quoted text - > > - Show quoted text - -- 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 git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.