Re: Split a subversion repo into several git repos
- From
Jonathan del Strother <maillist@steelskies.com>
- Date
- Oct 11, 2007, 13:46 UTC
- Message-ID
- <27DDC599-C7A0-4660-B5C6-7DFCEB137C14@steelskies.com>
- In-Reply-To
- <op.tz09zaizjwclfx@ichi>
On 11 Oct 2007, at 13:51, Eivind LM wrote:
Show 14 quoted lines
> Hi, > I would like to convert a subversion repository to Git. The > subversion repository used to track development of several projects > (only slightly related), and I would like to divide the repository > into several smaller git repositories. > > For example, I want to convert one subversion repository which > contains the folders: > trunk/projectA > trunk/projectB > > into two git repositories: > projectA.git > projectB.git
I have a slightly different layout to you -
projectA/trunk projectA/branches projectA/tags projectB/trunk projectB/branches projectB/tags etc
- but I've been creating separate git repos from that with (for example) :
git-svn init -t tags -b branches -T trunk http://svn.host.com/projectA git-svn fetch
Or will git-svn not work with your sort of layout?