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.