How do I clone over HTTP a repository that has no info/refs?
Posted
by gbacon
on Stack Overflow
See other posts from Stack Overflow
or by gbacon
Published on 2010-03-10T17:14:42Z
Indexed on
2010/03/30
2:53 UTC
Read the original article
Hit count: 346
Given a repository served over HTTP whose owner forgot to chmod +x hooks/post-update
, is there a workaround for cloning it?
I tried running wget --mirror url
, but rather than fetching the subtree only, it tried to mirror the entire site—which I assume happened due to the parent-directory links in the autogenerated index.html
resources.
© Stack Overflow or respective owner