Re: git clone downloads objects that are in GIT_OBJECT_DIRECTORY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 5 Mar 2006 21:57:02 -0500
Shawn Pearce <spearce@xxxxxxxxxxx> 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 <URL>

Or maybe better:

$ git set-remote --pull master:origin origin <URL>

Sean
-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]