git-update-server-info may be required,cannot clone and pull from a remote repository
hi All,
Please bear with me as i am completely new to git.
I tired setting up git repository on one of my Ubuntu 7.04 machines.
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 .
All went correct.
Now i am facing some trouble here.
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?
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. Perhaps git-update-server-info needs to be run there?
I ran git-update-server on the original machine, restarted even apache2 but still same thing.
Can any one help me with this?
I ll appreciate some good documents or howtos on setting up git repository painlessly.
BTW how am i supposed to use gitweb?
PS: I am not an expert sysadmin so i am completely unaware of apache2 tweaks and cgi pecularities.
Any help or pointers will be great.
Thank you
--pradeep
Signature · 1 line
Pradeep
Quoted 3 lines · pradeep singh
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.
Quoted 5 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
Quoted 4 lines
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?
Quoted 1 line
Perhaps git-update-server-info needs to be run there?
Yes. But it wont help unless your web server is setup correctly.
Quoted 1 line
Can any one help me with this?
Any reason you cannot use ssh?
Quoted 2 lines
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.
Quoted 1 line · Alex Riesen
On 7/11/07, pradeep singh <[email protected]> wrote:
[snip]
Quoted 1 line
[...]
ok, i got the repo up. Thanks for the suggestion Alex. Anyway i could not get gitweb running after running git-instaweb.
Any thoughts on how to setup a gitweb interface ?
Thanks
Signature · 1 line
Pradeep
[Cc: [email protected], Pradeep Singh <[email protected]>,
Eric Wong <[email protected]> (instaweb creator)]
Quoted 3 lines · pradeep singh
Anyway i could not get gitweb running after running git-instaweb.
Any thoughts on how to setup a gitweb interface ?
What information does gitweb/INSTALL lack?
Signature · 3 lines
Jakub Narebski Warsaw, Poland ShadeHawk on #git
Quoted 6 lines · Pradeep Singh
Quoted 5 lines · Jakub Narebski
[Cc: [email protected], Pradeep Singh <[email protected]>,
Eric Wong <[email protected]> (instaweb creator)]pradeep singh wrote:
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Anyway i could not get gitweb running after running git-instaweb.
Any thoughts on how to setup a gitweb interface ?
What information does gitweb/INSTALL lack?
May be I am running some old version on my Ubuntu Edgy machine perhaps? I cannot find such a file anywhere?
You can always look up this file at git.git gitweb (either kernel.org one, or repo.or.cz one), e.g.
http://repo.or.cz/w/alt-git.git/:gitweb/INSTALL
Quoted 2 lines
Looks like it is available in newer versions.
Does it works for git-1.4.4?
The installation instructions may have changed a bit since then. It is much easier to use 1.5.x series, nevertheless.
Signature · 2 lines
Jakub Narebski Poland
Thank you all for your valuable suggestions and timely help. I am now able to view the git repo in a web browser.
Thank you once again for help and for a great tool like git. --pradeep
Quoted 31 lines · Jakub Narebski
Quoted 6 lines · Pradeep Singh
Quoted 5 lines · Jakub Narebski
[Cc: [email protected], Pradeep Singh <[email protected]>,
Eric Wong <[email protected]> (instaweb creator)]pradeep singh wrote:
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Anyway i could not get gitweb running after running git-instaweb.
Any thoughts on how to setup a gitweb interface ?
What information does gitweb/INSTALL lack?
May be I am running some old version on my Ubuntu Edgy machine perhaps? I cannot find such a file anywhere?
You can always look up this file at git.git gitweb (either kernel.org one, or repo.or.cz one), e.g.
http://repo.or.cz/w/alt-git.git/:gitweb/INSTALL
Quoted 2 lines
Looks like it is available in newer versions.
Does it works for git-1.4.4?The installation instructions may have changed a bit since then. It is much easier to use 1.5.x series, nevertheless.
--
Jakub Narebski
Poland
Signature · 1 line
Pradeep
sorry forgot to CC gitlist in my last mail.
Quoted 32 lines · pradeep singh
Quoted 10 lines · Jakub Narebski
[Cc: [email protected], Pradeep Singh <[email protected]>,
Eric Wong <[email protected]> (instaweb creator)]Quoted 3 lines · pradeep singh
Anyway i could not get gitweb running after running git-instaweb.
Any thoughts on how to setup a gitweb interface ?
What information does gitweb/INSTALL lack?
May be i am running some old version on my Ubuntu Edgy machine perhaps? I cannot find such a file anywhere?
Looks like it is available in newer versions.
Does it works for git-1.4.4?thanks for help.
Quoted 8 lines
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git--
Pradeep
Signature · 1 line
Pradeep
Hi,
Quoted 9 lines · pradeep singh
Quoted 8 lines · pradeep singh
Quoted 1 line · Jakub Narebski
What information does gitweb/INSTALL lack?
May be i am running some old version on my Ubuntu Edgy machine perhaps? I cannot find such a file anywhere?
Looks like it is available in newer versions. Does it works for git-1.4.4?
IMHO it is not good to start with anything prior to 1.5.0, if you did not have any exposure to older Git. In terms of user friendliness, 1.4.4.4->1.5.0 is a leap by an astronomic unit.
Ciao,
Dscho
Quoted 11 lines · Johannes Schindelin
Hi,
Quoted 7 lines · pradeep singh
Quoted 6 lines · pradeep singh
Quoted 1 line · Jakub Narebski
What information does gitweb/INSTALL lack?
May be i am running some old version on my Ubuntu Edgy machine perhaps? I cannot find such a file anywhere?
Quoted 6 lines
Quoted 2 lines
Quoted 2 lines
Looks like it is available in newer versions. Does it works for git-1.4.4?
IMHO it is not good to start with anything prior to 1.5.0, if you did not have any exposure to older Git. In terms of user friendliness, 1.4.4.4->1.5.0 is a leap by an astronomic unit.
thanks for the update.
My question now changes to -
If i upgrade to git 1.5.x will i loose my earlier git info and all the stuff? I hope having differnt git versions on different machines does not hurts?
Thanks once again for the valuable advice.
regards
Quoted 5 lines
Ciao,
Dscho
Signature · 1 line
Pradeep
Quoted 1 line · pradeep singh
If i upgrade to git 1.5.x will i loose my earlier git info and all the stuff?
No
Quoted 1 line
I hope having differnt git versions on different machines does not hurts?
It does not hurt, but you'll find you like the new one.