Hi Carlos,

As Gabriel explained, in order to clone a Git repository over http, the Git 
repository needs to have an up-to-date info/refs file.  That file is generated 
by `git update-server-info`.  The sample post-update hook will run this when 
you push to the repository, but you need to take explicit action to enable the 
hook.  Run these three commands in the master repository:
  mv hooks/post-update.sample hooks/post-update;
  chmod +x hooks/post-update;
  git update-server-info

(If your repository was created by an older version of Git, the hook may
already be named post-update instead of post-update.sample, but you
still need the last two commands.)

If you still can’t get pulling to work over http after that, can you
post the URL to an http repository you are having trouble with?  Thanks.

** Changed in: git-core (Ubuntu)
       Status: Confirmed => Incomplete

-- 
git push over http and webdav fails - Hardy
https://bugs.launchpad.net/bugs/231633
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to