git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-update-server-info may be required,cannot clone and pull from a remote repository

From
Alex Riesen <raa.lkml@gmail.com>
Date
Jul 11, 2007, 14:31 UTC
Message-ID
<81b0412b0707110731n4ffa25afoea5395a856869325@mail.gmail.com>
In-Reply-To
<a901b49a0707110708o7c883bb0s707d9791f344f1f6@mail.gmail.com>
On 7/11/07, pradeep singh <pradeep.rautela@gmail.com> wrote:
> I followed the howto instruction for setting up a git repo over http
> using the HOWTO  given in the /usr/share/doc/git-doc/howtos .
>

You may want to consider an upgrade to your git installation. But it is unrelated to your problems.

Show 5 quoted lines
> 1. I already have a source tree controlled by git on the same
> machine.I want to make this as the master for the new public
> repository. I created a bare git repo in it as per the howto. Now i
> want to commit my local git repo to this public repository.I failed to
> do so sadly :-/.Can anyone point me to the correct place or link?
Try Documentation/everyday.txt in git source distribution
> 2. Even when i did a (from another machine)
>  $git-clone http://100.121.232/work.git work
>  It says,
>  Cannot get remote repository information.

Well, you can try this link in your browser. Does it show something? Does http://100.121.232/work.git/objects/info/packs work?

>  Perhaps git-update-server-info needs to be run there?
Yes. But it wont help unless your web server is setup correctly.
> Can any one help me with this?
Any reason you cannot use ssh?
> I ll appreciate some good documents or howtos on setting up git
> repository painlessly.
Usually it is as simple as "git init" in directory where you want it.
Previous: pradeep singhNext: pradeep singh
Message 2 of 10 in “git-update-server-info may be required,cannot clone and pull from a remote repository”
  1. pradeep singhJul 11, 2007
  2. Alex RiesenJul 11, 2007
  3. pradeep singhJul 12, 2007
  4. Jakub NarebskiJul 12, 2007
  5. pradeep singhJul 12, 2007
  6. Johannes SchindelinJul 12, 2007
  7. pradeep singhJul 12, 2007
  8. Alex RiesenJul 12, 2007
  9. Jakub NarebskiJul 13, 2007
  10. pradeep singhJul 13, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.