我正在尝试将我的~6GB本地颠换存储库移动到git并保留所有历史记录。
$ git svn clone --stdlayout --no-metadata -A /Users/dominikwilkowski/Desktop/users.txt file://localhost/Users/dominik/repository/svn/sites /Users/dominik/repository/git/sites
此命令将完全运行而不会出现错误或反馈,最终将创建一个空存储库。
我的svn版本是:
$ svn --version
svn, version 1.7.8 (r1419691)
compiled Dec 13 2012, 15:48:59
Copyright (C) 2012 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/
The following repository access (RA) modules are available:
* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
- handles 'http' scheme
- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
- handles 'http' scheme
- handles 'https' scheme
和我的git版本:
$ git --version
git version 1.7.12.4 (Apple Git-37)
我使用Tower作为我的新git客户端,versions作为我的颠覆客户端,但一直尝试手动克隆,因为塔失败并存在依赖性问题....
此时感谢任何帮助。
ps对于移动过程本身我发现了this非常详细的答案