{"thread":{"id":"8983","subject":"git-update-server-info may be required,cannot clone and pull from a remote repository","startedAt":"2007-07-11T14:08:22Z","lastAt":"2007-07-13T08:27:26Z","messageCount":10,"participants":["pradeep singh","Alex Riesen","Jakub Narebski","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"47033","messageId":"a901b49a0707110708o7c883bb0s707d9791f344f1f6@mail.gmail.com","threadId":"8983","inReplyTo":null,"subject":"git-update-server-info may be required,cannot clone and pull from a remote repository","fromName":"pradeep singh","fromEmail":"pradeep.rautela@gmail.com","sentAt":"2007-07-11T14:08:22Z","receivedAt":"2007-07-11T14:08:22Z","isPatch":false,"sender":{"key":"pradeep.rautela@gmail.com","avatar":null},"body":"hi All,\n\nPlease bear with me as i am completely new to git.\nI tired setting up git repository on one of my Ubuntu 7.04 machines.\n\nI followed the howto instruction for setting up a git repo over http\nusing the HOWTO  given in the /usr/share/doc/git-doc/howtos .\n\nAll went correct.\nNow i am facing some trouble here.\n\n1. I already have a source tree controlled by git on the same\nmachine.I want to make this as the master for the new public\nrepository. I created a bare git repo in it as per the howto. Now i\nwant to commit my local git repo to this public repository.I failed to\ndo so sadly :-/.Can anyone point me to the correct place or link?\n\n2. Even when i did a (from another machine)\n $git-clone http://100.121.232/work.git work\n It says,\n Cannot get remote repository information.\n Perhaps git-update-server-info needs to be run there?\n\n I ran git-update-server on the original machine, restarted even\napache2 but still same thing.\n\nCan any one help me with this?\nI ll appreciate some good documents or howtos on setting up git\nrepository painlessly.\n\nBTW how am i supposed to use gitweb?\nPS: I am not an expert sysadmin so i am completely unaware of apache2\ntweaks and cgi pecularities.\n\nAny help or pointers will be great.\n\nThank you\n--pradeep\n-- \nPradeep\n"},{"id":"47035","messageId":"81b0412b0707110731n4ffa25afoea5395a856869325@mail.gmail.com","threadId":"8983","inReplyTo":"a901b49a0707110708o7c883bb0s707d9791f344f1f6@mail.gmail.com","subject":"Re: git-update-server-info may be required,cannot clone and pull from a remote repository","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2007-07-11T14:31:20Z","receivedAt":"2007-07-11T14:31:20Z","isPatch":false,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"On 7/11/07, pradeep singh <pradeep.rautela@gmail.com> wrote:\n\n> I followed the howto instruction for setting up a git repo over http\n> using the HOWTO  given in the /usr/share/doc/git-doc/howtos .\n>\n\nYou may want to consider an upgrade to your git installation.\nBut it is unrelated to your problems.\n\n> 1. I already have a source tree controlled by git on the same\n> machine.I want to make this as the master for the new public\n> repository. I created a bare git repo in it as per the howto. Now i\n> want to commit my local git repo to this public repository.I failed to\n> do so sadly :-/.Can anyone point me to the correct place or link?\n\nTry Documentation/everyday.txt in git source distribution\n\n> 2. Even when i did a (from another machine)\n>  $git-clone http://100.121.232/work.git work\n>  It says,\n>  Cannot get remote repository information.\n\nWell, you can try this link in your browser.\nDoes it show something?\nDoes http://100.121.232/work.git/objects/info/packs work?\n\n>  Perhaps git-update-server-info needs to be run there?\n\nYes. But it wont help unless your web server is setup correctly.\n\n> Can any one help me with this?\n\nAny reason you cannot use ssh?\n\n> I ll appreciate some good documents or howtos on setting up git\n> repository painlessly.\n\nUsually it is as simple as \"git init\" in directory where you want it.\n"},{"id":"47117","messageId":"a901b49a0707112227m2ea746ectd367031fdc8d3537@mail.gmail.com","threadId":"8983","inReplyTo":"81b0412b0707110731n4ffa25afoea5395a856869325@mail.gmail.com","subject":"Re: git-update-server-info may be required,cannot clone and pull from a remote repository","fromName":"pradeep singh","fromEmail":"pradeep.rautela@gmail.com","sentAt":"2007-07-12T05:27:46Z","receivedAt":"2007-07-12T05:27:46Z","isPatch":false,"sender":{"key":"pradeep.rautela@gmail.com","avatar":null},"body":"On 7/11/07, Alex Riesen <raa.lkml@gmail.com> wrote:\n> On 7/11/07, pradeep singh <pradeep.rautela@gmail.com> wrote:\n[snip]\n>\n[...]\nok, i got the repo up. Thanks for the suggestion Alex.\nAnyway i could not get gitweb running after running git-instaweb.\n\nAny thoughts on how to setup a gitweb interface ?\n\nThanks\n-- \nPradeep\n"},{"id":"47134","messageId":"f74tk8$k21$1@sea.gmane.org","threadId":"8983","inReplyTo":"a901b49a0707112227m2ea746ectd367031fdc8d3537@mail.gmail.com","subject":"Re: git-update-server-info may be required,cannot clone and pull from a remote repository","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2007-07-12T09:58:38Z","receivedAt":"2007-07-12T09:58:38Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"[Cc: git@vger.kernel.org, Pradeep Singh <pradeep.rautela@gmail.com>,\n Eric Wong <normalperson@yhbt.net> (instaweb creator)]\n\npradeep singh wrote:\n\n> Anyway i could not get gitweb running after running git-instaweb.\n> \n> Any thoughts on how to setup a gitweb interface ?\n\nWhat information does gitweb/INSTALL lack?\n\n-- \nJakub Narebski\nWarsaw, Poland\nShadeHawk on #git\n"},{"id":"47144","messageId":"a901b49a0707120552y649fba20p4fa14ca48be4be54@mail.gmail.com","threadId":"8983","inReplyTo":"a901b49a0707120550i9361e30wc5811bd5d3305f59@mail.gmail.com","subject":"Re: git-update-server-info may be required,cannot clone and pull from a remote repository","fromName":"pradeep singh","fromEmail":"pradeep.rautela@gmail.com","sentAt":"2007-07-12T12:52:03Z","receivedAt":"2007-07-12T12:52:03Z","isPatch":false,"sender":{"key":"pradeep.rautela@gmail.com","avatar":null},"body":"sorry forgot to CC gitlist in my last mail.\nOn 7/12/07, pradeep singh <pradeep.rautela@gmail.com> wrote:\n> On 7/12/07, Jakub Narebski <jnareb@gmail.com> wrote:\n> > [Cc: git@vger.kernel.org, Pradeep Singh <pradeep.rautela@gmail.com>,\n> >  Eric Wong <normalperson@yhbt.net> (instaweb creator)]\n> >\n> > pradeep singh wrote:\n> >\n> > > Anyway i could not get gitweb running after running git-instaweb.\n> > >\n> > > Any thoughts on how to setup a gitweb interface ?\n> >\n> > What information does gitweb/INSTALL lack?\n>\n> May be i am running some old version on my Ubuntu Edgy machine perhaps?\n> I cannot find such a file anywhere?\n>\n> Looks like it is available in newer versions.\n> Does it works for git-1.4.4?\n>\n> thanks for help.\n> >\n> > --\n> > Jakub Narebski\n> > Warsaw, Poland\n> > ShadeHawk on #git\n> >\n> >\n> >\n>\n>\n> --\n> Pradeep\n>\n\n\n-- \nPradeep\n"},{"id":"47157","messageId":"Pine.LNX.4.64.0707121411070.4516@racer.site","threadId":"8983","inReplyTo":"a901b49a0707120552y649fba20p4fa14ca48be4be54@mail.gmail.com","subject":"Re: git-update-server-info may be required,cannot clone and pull from a remote repository","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2007-07-12T13:13:19Z","receivedAt":"2007-07-12T13:13:19Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Thu, 12 Jul 2007, pradeep singh wrote:\n\n> On 7/12/07, pradeep singh <pradeep.rautela@gmail.com> wrote:\n> > On 7/12/07, Jakub Narebski <jnareb@gmail.com> wrote:\n> > > What information does gitweb/INSTALL lack?\n> > \n> > May be i am running some old version on my Ubuntu Edgy machine \n> > perhaps? I cannot find such a file anywhere?\n> > \n> > Looks like it is available in newer versions. Does it works for \n> > git-1.4.4?\n\nIMHO it is not good to start with anything prior to 1.5.0, if you did not \nhave any exposure to older Git.  In terms of user friendliness, \n1.4.4.4->1.5.0 is a leap by an astronomic unit.\n\nCiao,\nDscho\n"},{"id":"47161","messageId":"a901b49a0707120632m1654733as94839e88bd993bb1@mail.gmail.com","threadId":"8983","inReplyTo":"Pine.LNX.4.64.0707121411070.4516@racer.site","subject":"Re: git-update-server-info may be required,cannot clone and pull from a remote repository","fromName":"pradeep singh","fromEmail":"pradeep.rautela@gmail.com","sentAt":"2007-07-12T13:32:55Z","receivedAt":"2007-07-12T13:32:55Z","isPatch":false,"sender":{"key":"pradeep.rautela@gmail.com","avatar":null},"body":"On 7/12/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:\n> Hi,\n>\n> On Thu, 12 Jul 2007, pradeep singh wrote:\n>\n> > On 7/12/07, pradeep singh <pradeep.rautela@gmail.com> wrote:\n> > > On 7/12/07, Jakub Narebski <jnareb@gmail.com> wrote:\n> > > > What information does gitweb/INSTALL lack?\n> > >\n> > > May be i am running some old version on my Ubuntu Edgy machine\n> > > perhaps? I cannot find such a file anywhere?\n> > >\n> > > Looks like it is available in newer versions. Does it works for\n> > > git-1.4.4?\n>\n> IMHO it is not good to start with anything prior to 1.5.0, if you did not\n> have any exposure to older Git.  In terms of user friendliness,\n> 1.4.4.4->1.5.0 is a leap by an astronomic unit.\nthanks for the update.\nMy question now changes to -\nIf i upgrade to git 1.5.x will i loose my earlier git info and all the stuff?\nI hope having differnt git versions on different machines does not hurts?\n\nThanks once again for the valuable advice.\n\nregards\n>\n> Ciao,\n> Dscho\n>\n>\n\n\n-- \nPradeep\n"},{"id":"47169","messageId":"81b0412b0707120805l105bc692yfa8698293683f492@mail.gmail.com","threadId":"8983","inReplyTo":"a901b49a0707120632m1654733as94839e88bd993bb1@mail.gmail.com","subject":"Re: git-update-server-info may be required,cannot clone and pull from a remote repository","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2007-07-12T15:05:52Z","receivedAt":"2007-07-12T15:05:52Z","isPatch":false,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"On 7/12/07, pradeep singh <pradeep.rautela@gmail.com> wrote:\n> If i upgrade to git 1.5.x will i loose my earlier git info and all the stuff?\n\nNo\n\n> I hope having differnt git versions on different machines does not hurts?\n\nIt does not hurt, but you'll find you like the new one.\n"},{"id":"47220","messageId":"200707130217.37817.jnareb@gmail.com","threadId":"8983","inReplyTo":"a901b49a0707120550i9361e30wc5811bd5d3305f59@mail.gmail.com","subject":"Re: git-update-server-info may be required,cannot clone and pull from a remote repository","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2007-07-13T00:17:37Z","receivedAt":"2007-07-13T00:17:37Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Pradeep Singh wrote:\n> On 7/12/07, Jakub Narebski <jnareb@gmail.com> wrote:\n>> [Cc: git@vger.kernel.org, Pradeep Singh <pradeep.rautela@gmail.com>,\n>>  Eric Wong <normalperson@yhbt.net> (instaweb creator)]\n>>\n>> pradeep singh wrote:\n>>\n>>> Anyway i could not get gitweb running after running git-instaweb.\n>>>\n>>> Any thoughts on how to setup a gitweb interface ?\n>>\n>> What information does gitweb/INSTALL lack?\n> \n> May be I am running some old version on my Ubuntu Edgy machine\n> perhaps? I cannot find such a file anywhere?\n\nYou can always look up this file at git.git gitweb (either kernel.org \none, or repo.or.cz one), e.g.\n\n  http://repo.or.cz/w/alt-git.git/:gitweb/INSTALL\n \n> Looks like it is available in newer versions.\n> Does it works for git-1.4.4?\n\nThe installation instructions may have changed a bit since then. It is \nmuch easier to use 1.5.x series, nevertheless.\n\n-- \nJakub Narebski\nPoland\n"},{"id":"47243","messageId":"a901b49a0707130127y4ec116bbr3747df1a1e0a86ce@mail.gmail.com","threadId":"8983","inReplyTo":"200707130217.37817.jnareb@gmail.com","subject":"Re: git-update-server-info may be required,cannot clone and pull from a remote repository","fromName":"pradeep singh","fromEmail":"pradeep.rautela@gmail.com","sentAt":"2007-07-13T08:27:26Z","receivedAt":"2007-07-13T08:27:26Z","isPatch":false,"sender":{"key":"pradeep.rautela@gmail.com","avatar":null},"body":"Thank you all for your valuable suggestions and timely help.\nI am now able to view the git repo in a web browser.\n\nThank you once again for help and for a great tool like git.\n--pradeep\n\n\nOn 7/13/07, Jakub Narebski <jnareb@gmail.com> wrote:\n> Pradeep Singh wrote:\n> > On 7/12/07, Jakub Narebski <jnareb@gmail.com> wrote:\n> >> [Cc: git@vger.kernel.org, Pradeep Singh <pradeep.rautela@gmail.com>,\n> >>  Eric Wong <normalperson@yhbt.net> (instaweb creator)]\n> >>\n> >> pradeep singh wrote:\n> >>\n> >>> Anyway i could not get gitweb running after running git-instaweb.\n> >>>\n> >>> Any thoughts on how to setup a gitweb interface ?\n> >>\n> >> What information does gitweb/INSTALL lack?\n> >\n> > May be I am running some old version on my Ubuntu Edgy machine\n> > perhaps? I cannot find such a file anywhere?\n>\n> You can always look up this file at git.git gitweb (either kernel.org\n> one, or repo.or.cz one), e.g.\n>\n>   http://repo.or.cz/w/alt-git.git/:gitweb/INSTALL\n>\n> > Looks like it is available in newer versions.\n> > Does it works for git-1.4.4?\n>\n> The installation instructions may have changed a bit since then. It is\n> much easier to use 1.5.x series, nevertheless.\n>\n> --\n> Jakub Narebski\n> Poland\n>\n\n\n-- \nPradeep\n"}]}