From: sean Date: Mon, 06 Mar 2006 03:31:15 GMT Subject: Re: git clone downloads objects that are in GIT_OBJECT_DIRECTORY Message-ID: In-Reply-To: <20060306025702.GH25790@spearce.org> On Sun, 5 Mar 2006 21:57:02 -0500 Shawn Pearce wrote: > It might be nicer if the user could place a list of locally (here > locally being possibly remote but closer network-wise) available > repositories which should be considered as sources for faster > cloning. When cloning a remote repository git-clone would try to > examine each of the designated repositories to see if any of them > have commits in common with the remote; if so clone off that and > then pull from the remote, but designating the remote as `origin'. It is already easy to start from a similar repo (eg. locally cloned) if you wish to conserve bandwidth. However, it might be nice to have a command that allows you to change origin information for a repo without needing to know git internals; maybe something like: $ git set-origin Or maybe better: $ git set-remote --pull master:origin origin Sean