简体   繁体   English

Github和SVN Workflow

[英]Github and SVN Workflow

I'm working on a project with 2 more developers. 我正在与另外两个开发人员合作开展一个项目。 The problem is that 1 developer is using SVN and the other developer and I using github. 问题是1个开发人员正在使用SVN,而另一个开发人员正在使用github。 Is there a way to keep everything synced on both sides SVN and git? 有没有办法让SVN和git双方同步?

When I had to deal with this one time, I just told the other guy to learn git and suck it. 当我不得不处理这一次时,我只是告诉另一个人学习git并吮吸它。 Eventually, he did and everyone was happy. 最终,他做到了,每个人都很开心。 I suggest that :-) 我建议 :-)

要么强迫另一个人使用git ,要么让svn存储库成为主存储库,并使用git-svn从/向它拉/推。

git is more flexible and powerful and might be a better option than using both types of version control systems in parallel. git更灵活,更强大,可能比并行使用两种类型的版本控制系统更好。 The svn user can be taught to use git now to save more headaches later. 可以教svn用户现在使用git来节省更多的麻烦。

As of April 2010 GitHub provides a (readonly) interface to svn . 截至2010年4月,GitHub为svn提供了一个(只读)接口 If he insists to use svn and to not learn git, he should send patches and one of the git users (or automated) checks them into a separate branch for that developer. 如果他坚持使用svn并且不学习git,他应该发送补丁,并且其中一个git用户(或自动化)将它们检查到该开发者的单独分支中。

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

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