Git can completely replace your git-svn infrastructure if you want.
Simply consider changing the central SVN repository by a "central" git repository.
If you don't depend specifically on SVN (like client software for your "remote" machines, user credentials to access code base, ...), it is a good idea to use one tool to do the job.
Git is usable on popular platform like Windows, MAC-OS and of course Linux.
On the practical side, simply clone the git-svn repo, using the --bare option, like that:
git clone --bare /path/to/mygit-svn-repo/
and export it to a "central" location. Then add this remote repository to your .git/config and keep on coding!
发布评论
评论(1)
如果你愿意,Git 可以完全取代你的 git-svn 基础设施。
只需考虑将中央 SVN 存储库更改为“中央”git 存储库即可。
如果您不特别依赖 SVN(例如“远程”计算机的客户端软件、访问代码库的用户凭据等),那么使用一种工具来完成这项工作是个好主意。
Git 可在流行的平台上使用,例如 Windows、MAC-OS,当然还有 Linux。
在实际方面,只需使用
--bare
选项克隆 git-svn 存储库,如下所示:并将其导出到“中心”位置。然后将此远程存储库添加到您的 .git/config 并继续编码!
Git can completely replace your git-svn infrastructure if you want.
Simply consider changing the central SVN repository by a "central" git repository.
If you don't depend specifically on SVN (like client software for your "remote" machines, user credentials to access code base, ...), it is a good idea to use one tool to do the job.
Git is usable on popular platform like Windows, MAC-OS and of course Linux.
On the practical side, simply clone the git-svn repo, using the
--bare
option, like that:and export it to a "central" location. Then add this remote repository to your .git/config and keep on coding!