* git-update-server-info may be required,cannot clone and pull from a remote repository @ 2007-07-11 14:08 pradeep singh 2007-07-11 14:31 ` Alex Riesen 0 siblings, 1 reply; 10+ messages in thread From: pradeep singh @ 2007-07-11 14:08 UTC (permalink / raw) To: git 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 -- Pradeep ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: git-update-server-info may be required,cannot clone and pull from a remote repository 2007-07-11 14:08 git-update-server-info may be required,cannot clone and pull from a remote repository pradeep singh @ 2007-07-11 14:31 ` Alex Riesen 2007-07-12 5:27 ` pradeep singh 0 siblings, 1 reply; 10+ messages in thread From: Alex Riesen @ 2007-07-11 14:31 UTC (permalink / raw) To: pradeep singh; +Cc: git 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. > 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. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: git-update-server-info may be required,cannot clone and pull from a remote repository 2007-07-11 14:31 ` Alex Riesen @ 2007-07-12 5:27 ` pradeep singh 2007-07-12 9:58 ` Jakub Narebski 0 siblings, 1 reply; 10+ messages in thread From: pradeep singh @ 2007-07-12 5:27 UTC (permalink / raw) To: Alex Riesen; +Cc: git On 7/11/07, Alex Riesen <raa.lkml@gmail.com> wrote: > On 7/11/07, pradeep singh <pradeep.rautela@gmail.com> wrote: [snip] > [...] 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 -- Pradeep ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: git-update-server-info may be required,cannot clone and pull from a remote repository 2007-07-12 5:27 ` pradeep singh @ 2007-07-12 9:58 ` Jakub Narebski [not found] ` <a901b49a0707120550i9361e30wc5811bd5d3305f59@mail.gmail.com> 0 siblings, 1 reply; 10+ messages in thread From: Jakub Narebski @ 2007-07-12 9:58 UTC (permalink / raw) To: git [Cc: git@vger.kernel.org, Pradeep Singh <pradeep.rautela@gmail.com>, Eric Wong <normalperson@yhbt.net> (instaweb creator)] pradeep singh wrote: > 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? -- Jakub Narebski Warsaw, Poland ShadeHawk on #git ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <a901b49a0707120550i9361e30wc5811bd5d3305f59@mail.gmail.com>]
* Re: git-update-server-info may be required,cannot clone and pull from a remote repository [not found] ` <a901b49a0707120550i9361e30wc5811bd5d3305f59@mail.gmail.com> @ 2007-07-12 12:52 ` pradeep singh 2007-07-12 13:13 ` Johannes Schindelin 2007-07-13 0:17 ` Jakub Narebski 1 sibling, 1 reply; 10+ messages in thread From: pradeep singh @ 2007-07-12 12:52 UTC (permalink / raw) To: Jakub Narebski; +Cc: Eric Wong, git sorry forgot to CC gitlist in my last mail. On 7/12/07, pradeep singh <pradeep.rautela@gmail.com> wrote: > On 7/12/07, Jakub Narebski <jnareb@gmail.com> wrote: > > [Cc: git@vger.kernel.org, Pradeep Singh <pradeep.rautela@gmail.com>, > > Eric Wong <normalperson@yhbt.net> (instaweb creator)] > > > > pradeep singh wrote: > > > > > 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. > > > > -- > > Jakub Narebski > > Warsaw, Poland > > ShadeHawk on #git > > > > > > > > > -- > Pradeep > -- Pradeep ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: git-update-server-info may be required,cannot clone and pull from a remote repository 2007-07-12 12:52 ` pradeep singh @ 2007-07-12 13:13 ` Johannes Schindelin 2007-07-12 13:32 ` pradeep singh 0 siblings, 1 reply; 10+ messages in thread From: Johannes Schindelin @ 2007-07-12 13:13 UTC (permalink / raw) To: pradeep singh; +Cc: Jakub Narebski, Eric Wong, git Hi, On Thu, 12 Jul 2007, pradeep singh wrote: > On 7/12/07, pradeep singh <pradeep.rautela@gmail.com> wrote: > > On 7/12/07, Jakub Narebski <jnareb@gmail.com> wrote: > > > 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: git-update-server-info may be required,cannot clone and pull from a remote repository 2007-07-12 13:13 ` Johannes Schindelin @ 2007-07-12 13:32 ` pradeep singh 2007-07-12 15:05 ` Alex Riesen 0 siblings, 1 reply; 10+ messages in thread From: pradeep singh @ 2007-07-12 13:32 UTC (permalink / raw) To: Johannes Schindelin; +Cc: Jakub Narebski, Eric Wong, git On 7/12/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote: > Hi, > > On Thu, 12 Jul 2007, pradeep singh wrote: > > > On 7/12/07, pradeep singh <pradeep.rautela@gmail.com> wrote: > > > On 7/12/07, Jakub Narebski <jnareb@gmail.com> wrote: > > > > 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. 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 > > Ciao, > Dscho > > -- Pradeep ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: git-update-server-info may be required,cannot clone and pull from a remote repository 2007-07-12 13:32 ` pradeep singh @ 2007-07-12 15:05 ` Alex Riesen 0 siblings, 0 replies; 10+ messages in thread From: Alex Riesen @ 2007-07-12 15:05 UTC (permalink / raw) To: pradeep singh; +Cc: Johannes Schindelin, Jakub Narebski, Eric Wong, git On 7/12/07, pradeep singh <pradeep.rautela@gmail.com> wrote: > If i upgrade to git 1.5.x will i loose my earlier git info and all the stuff? No > 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. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: git-update-server-info may be required,cannot clone and pull from a remote repository [not found] ` <a901b49a0707120550i9361e30wc5811bd5d3305f59@mail.gmail.com> 2007-07-12 12:52 ` pradeep singh @ 2007-07-13 0:17 ` Jakub Narebski 2007-07-13 8:27 ` pradeep singh 1 sibling, 1 reply; 10+ messages in thread From: Jakub Narebski @ 2007-07-13 0:17 UTC (permalink / raw) To: pradeep singh; +Cc: Eric Wong, git Pradeep Singh wrote: > On 7/12/07, Jakub Narebski <jnareb@gmail.com> wrote: >> [Cc: git@vger.kernel.org, Pradeep Singh <pradeep.rautela@gmail.com>, >> Eric Wong <normalperson@yhbt.net> (instaweb creator)] >> >> pradeep singh wrote: >> >>> 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 > 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: git-update-server-info may be required,cannot clone and pull from a remote repository 2007-07-13 0:17 ` Jakub Narebski @ 2007-07-13 8:27 ` pradeep singh 0 siblings, 0 replies; 10+ messages in thread From: pradeep singh @ 2007-07-13 8:27 UTC (permalink / raw) To: Jakub Narebski; +Cc: Eric Wong, git 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 On 7/13/07, Jakub Narebski <jnareb@gmail.com> wrote: > Pradeep Singh wrote: > > On 7/12/07, Jakub Narebski <jnareb@gmail.com> wrote: > >> [Cc: git@vger.kernel.org, Pradeep Singh <pradeep.rautela@gmail.com>, > >> Eric Wong <normalperson@yhbt.net> (instaweb creator)] > >> > >> pradeep singh wrote: > >> > >>> 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 > > > 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 > -- Pradeep ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-07-13 8:27 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-07-11 14:08 git-update-server-info may be required,cannot clone and pull from a remote repository pradeep singh 2007-07-11 14:31 ` Alex Riesen 2007-07-12 5:27 ` pradeep singh 2007-07-12 9:58 ` Jakub Narebski [not found] ` <a901b49a0707120550i9361e30wc5811bd5d3305f59@mail.gmail.com> 2007-07-12 12:52 ` pradeep singh 2007-07-12 13:13 ` Johannes Schindelin 2007-07-12 13:32 ` pradeep singh 2007-07-12 15:05 ` Alex Riesen 2007-07-13 0:17 ` Jakub Narebski 2007-07-13 8:27 ` pradeep singh
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).