简体   繁体   English

在SVN中使用外部git repo

[英]Using external git repo in SVN

Is it possible to use external git repo inside SVN? 是否可以在SVN内部使用外部git repo? The thing is the designers of some third party source code we are using moved from SVN to git. 关键是我们正在使用的某些第三方源代码的设计者已从SVN迁移到git。 And we were using their code as external svn. 并且我们将他们的代码用作外部svn。 So, it's not very clear how to make something similar with git repository. 因此,如何使用git仓库做类似的事情还不是很清楚。

If the third party can put their source code on github (even as a private repository), you could use your svn client against the github repository, see https://github.com/blog/966-improved-subversion-client-support 如果第三方可以将其源代码放在github(甚至作为私有存储库)上,则可以将svn客户端用于github存储库,请参阅https://github.com/blog/966-improved-subversion-client-support

However @poke is correct, you're normally better off keeping third party source code out of your codebase. 但是@poke是正确的,通常最好将第三方源代码保留在代码库之外。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM