简体   繁体   English

如何将Git添加到现有的SVN项目中?

[英]How can I add Git to an existing SVN project?

I have been using SVN for a project for past 8 months and I'm now in the process of switching to Git. 在过去的8个月中,我一直在使用SVN进行项目开发,现在正在转向使用Git。

I was able to successfully import SVN into Git, but now I want to establish Git on my local workspace. 我能够成功地将SVN导入到Git中,但是现在我想在本地工作区中建立Git。

How can I establish Git & "sync" without affecting my code? 如何在不影响代码的情况下建立Git和“同步”?

Not exactly sure what you mean, but Git-svn is pretty good. 不完全知道你的意思,但针对Git SVN是相当不错的。

I used it several years ago. 我几年前用过。 Based on my experiences then I'm not sure how much I would trust it if your project makes heavy use of Subversion branches, but maybe they fixed that. 根据我的经验,如果您的项目大量使用Subversion分支,那么我不确定该信任多少,但是也许他们可以解决。 It wasn't a problem for my team because we used svn branches rarely. 因为我们使用的svn分支很少这不是我的团队的一个问题。

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

相关问题 如何将git添加到尚未跟踪但git具有完整历史记录的现有项目中 - How can I add git to an existing project which hasn't been tracked but git has a full history 我如何将git添加到目录,然后提交到现有的git项目 - How do I add git to directory and then commit to existing git project 如何将新的 SVN 远程分支添加到现有的 git-svn 存储库 - How do I add new SVN remote branch to the existing git-svn repository 如何将现有GIT项目导入SVN,在主分支上保留GIT历史记录? - How do I import an existing GIT project into SVN, preserving GIT history on master branch? 在这种简单的情况下,如何将这个项目从 SVN 迁移到 GIT? - How can I migrate this project from SVN to GIT in this simple situation? 如何使用git或svn将MonoDevelop项目连接到BitBucket? - How can I connect a MonoDevelop project to BitBucket using git or svn? 将git-svn与现有的svn项目一起使用 - Using git-svn with existing svn project 如何将现有的 Visual Studio 2019 项目添加到 git 存储库? - How can i add an existing visual studio 2019 project to a git repo? iPhone:如何在“git local repository”中添加现有项目? - iPhone : How do I add existing project in “git local repository”? 如何将现有的eclipse java项目添加到git - How do I add existing eclipse java project to git
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM