Path: csiph.com!usenet.pasdenom.info!news.albasani.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Ian Collins Newsgroups: comp.programming Subject: Re: Split a git repository? Date: Thu, 06 Sep 2012 19:46:39 +1200 Lines: 14 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net +XkoX5iBXfHVN389OMFx5A1Vs3F5FxmC75wHdmwDnm+3MstWRlb5wCsyXRNAUN8RjG Cancel-Lock: sha1:MN/Pgib03606txwcZ+NhUJIullY= User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:12.0) Gecko/20120423 Thunderbird/12.0 In-Reply-To: Xref: csiph.com comp.programming:2168 On 09/ 3/12 10:16 PM, Rui Maciel wrote: > Let's say there is a git repository which contains not only the source code > tree of a project but also a subtree used to store an assorted set of > documents. > > Does anyone know if there is a simple way to split that repository into two > separate repositories, one dedicated to the souce code tree and the other to > the documents? If the documents aren't related to the code, create a new repository and move them there. If they are associated with the code, leave well alone! -- Ian Collins