Re: git-daemon enabled on kernel.org
On Wed, 19 Oct 2005, Erik Mouw wrote:
Show 10 quoted lines
> On Tue, Oct 18, 2005 at 12:30:23PM -0700, H. Peter Anvin wrote:
> > After getting gitweb behind mod_cache, the load on kernel.org has gotten
> > down into the tolerable range, so I have enabled git-daemon in an
> > attempt to fix that :)
> >
> > The URL, obviously, is git://git.kernel.org/pub/scm/...
> >
> > (or, to specify a specific server, git1.kernel.org or git2.kernel.org.)
>
> How do I tell git to change the default repository to pull from?
Easy, depending on how old your repository either edit .git/branches/origin or .git/remotes/origin. They contain the current default, just change it to the new one. E.g. my .git/remotes/origin for Linux-2.6 repository is:
URL: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Pull: master:origin
Best regards,
Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/