Thread (7 messages) flat view 7 messages, 6 authors, 2016-06-15

Re: git-daemon enabled on kernel.org

From: Anton Altaparmakov <hidden>
Date: 2016-06-15 22:42:09

On Wed, 19 Oct 2005, Erik Mouw wrote:
On Tue, Oct 18, 2005 at 12:30:23PM -0700, H. Peter Anvin wrote:
quoted
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help