问题描述
我需要在Visual Studio 2010 Professional中使用源代码管理。我没有单独的Team Foundation Server 2010.有人提到过SourceSafe?我没有看到Visual Studio 2010中的任何SourceSafe是诚实的。
Visual Studio 2010中的源代码控制有哪些替代方法(最好是免费的)?或者它已经集成在Visual Studio 2010中,我很盲目地错过了它?
更新#1:谢谢大家,我会用SVN ,尤其是针对Visual Studio 2010的 AnkhSVN 。::它是自从我提出这个问题以来已经快一年了。我强烈建议在Subversion上使用 Mercurial 或 Git 。因此,对于那些正在寻找Visual Studio 2010版本控制系统的人来说,看看没有比Visual Studio扩展库中的Git或Mercurial扩展更强大的功能了。
更新2013年5月16日:我现在强烈建议您通过 Mercurial , TFS 或 SVN / em>的。在浏览器中查看 CodeSchool 看看它有多棒!
-
- 的深入教程。
- 为Team Explorer提供源代码的扩展控制Git的集成。允许与本地Git存储库进行集成,并提供工具来与远程存储库一起工作。 /i.stack.imgur.com/4r9KC.pngalt =在这里输入图片描述> Getting Started with Git on Visual Studio 2012 - in-depth tutorial by Andy Lewis.
Visual Studio Tools for Git - An extension for Team Explorer to provide source control integration for Git. Enables integration with local Git repositories and provides tools to work with remote repositories.
请参阅
Visual Studio只是一个IDE。您可以使用任何您想要的源代码控制解决方案。特别是任何开源的源代码控制解决方案,如git,mercurial(hg)或subversion(svn)。还有像Perforce或SourceGear Vault这样的商业产品。有关详细信息,请参阅获取详细信息。
您可以找到将其与任何源代码管理集成的Visual Studio插件。对于开源软件来说,颠覆在这方面尤其丰富。商业用户通常会使用这种集成。
如果您没有使用源代码管理,需要您显式检出文件以进行编辑(如VSS或TFS) ,IDE集成甚至不是必需的。我个人更喜欢在IDE之外使用git或subversion。
请保持距离就是这样。
After doing some search on SO, Google and MSDN forums I've become frustrated that there is so little information for what might seem like an obvious question and possibly a dumb question.
I need to use source control in Visual Studio 2010 Professional. I do not have separate Team Foundation Server 2010. Some people have mentioned SourceSafe? I haven't seen any SourceSafe inside of the Visual Studio 2010 to be honest.
What are some alternatives (preferably free) for source control in Visual Studio 2010? Or is it already integrated in Visual Studio 2010 that I am so blind to have missed that?
Update #1: Thank you everyone, I will go with SVN, in particular AnkhSVN for Visual Studio 2010.
Update 3/23/2011: It's been almost a year since I have asked this question. I highly recommend using either Mercurial or Git over Subversion. So for those of you who are looking for Visual Studio 2010 version control system, look no further than Git or Mercurial extensions from the Visual Studio Extension Library.
Update 5/16/2013: I would now strongly encourage you to use Git over Mercurial, TFS or SVN. Take a look at CodeSchool's Try GitHub in the browser to see how awesome it is!
See: List of Source Control Systems with Visual Studio Plugins
Visual Studio is just an IDE. You can use any source control solution that you want with it. Any open source source control solution in particular, like git, mercurial (hg) or subversion (svn). And there are commercial products like Perforce or SourceGear Vault. See here for a pretty exhaustive list and google for more information.
You can find Visual Studio plugins that integrate it with any source control. Of open source ones subversion is especially rich in this regard. Commercial ones usually come with this integration.
And if you are not using source control that requires you to explicitly check-out files to edit them (like VSS or TFS do), the IDE integration is not even essential. I personally prefer to use git or subversion from outside the IDE.
And please, stay as far from Visual SourceSafe as you can.
这篇关于Visual Studio 2010中的源代码管理?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!