[git-users] Re: git http clone error

2010-07-09 Thread sudharsan chandrababu
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 at 
http://groups.google.com/group/git-users?hl=en.



Re: [git-users] Re: git http clone error

2010-07-09 Thread Peter
 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 at 
 http://groups.google.com/group/git-users?hl=en.



-- 
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.