From: Alex Riesen Date: Wed, 11 Jul 2007 14:31:20 GMT Subject: Re: git-update-server-info may be required,cannot clone and pull from a remote repository Message-ID: <81b0412b0707110731n4ffa25afoea5395a856869325@mail.gmail.com> In-Reply-To: On 7/11/07, pradeep singh 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. > 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.