哪个版本控制系统最适合我?

时间:2022-05-20 06:29:21

I mostly develop on windows.

我主要在Windows上开发。

I'm the only developer, the only thing I'm confused about is how can I carry them with me where ever I go. I don't want them on some server on the internet. Because I sometimes have to work offline for days (or sometimes painfully slow connection).

我是唯一的开发人员,我唯一感到困惑的是,无论我走到哪里,我怎么能随身携带它们。我不希望他们在互联网上的某些服务器上。因为我有时需要离线工作几天(或者有时连接速度很慢)。

Mostly I carry the project on a portable device. So when I get back home I want both my PC version and Portable version of the project to be synced with changes and history.

大多数情况下,我在便携式设备上进行项目。因此,当我回到家时,我希望我的PC版本和项目的Portable版本能够与变化和历史同步。

Sorry if it's a bit confusing. That's the best I could put it.

对不起,如果它有点令人困惑。这是我能说的最好的。

Thanks for any help!

谢谢你的帮助!

5 个解决方案

#1


You can put an SVN repository (which is just a folder with some files in it), on a local drive, or an external hard drive too. I've been using something like this for quite some time and it's worked really well.

您可以在本地驱动器或外部硬盘驱动器上放置SVN存储库(其中只包含一些文件的文件夹)。我已经使用了这样的东西已经有一段时间了,而且效果非常好。

I can't make any comment about whether it's better than GIT or any other VCS system, but I've found SVN to be really quite good. The documentation and supporting tools that have been built for it (eg: TortoiseSVN) are really good.

我不能对它是否比GIT或任何其他VCS系统做出任何评论,但我发现SVN确实非常好。为它构建的文档和支持工具(例如:TortoiseSVN)非常好。

#2


Mercurial is also pretty nice, and there is even a Visual Studio source control provider for it (which I've never tried, but it exists!). It's fast, it's free (as in beer and in speech) and it's distributed, which means that it should handle merges between different computers well - better than Subversion even, I'd wager. It's also being used by some fairly large projects, including Mozilla, the OpenSolaris and OpenJDK teams at Sun, and (soon) the Python project itself.

Mercurial也很不错,甚至还有一个Visual Studio源代码控制提供程序(我从未尝试过,但它存在!)。它很快,它是免费的(如在啤酒和语音中)并且它是分布式的,这意味着它应该很好地处理不同计算机之间的合并 - 甚至比Subversion更好,我敢打赌。它也被一些相当大的项目使用,包括Mozilla,Sun的OpenSolaris和OpenJDK团队,以及(很快)Python项目本身。

#3


Sounds like a distributed version control system like GIT or Bzr might be what you are looking for, you can keep all of your code locally (setup the repository on your external storage device) but you still get the option of branching and merging. Plus if you do find yourself in the situation where you need to share with another developer they can just get a local copy of one of your branches.

听起来像GIT或Bzr这样的分布式版本控制系统可能就是您所需要的,您可以在本地保存所有代码(在外部存储设备上设置存储库),但您仍然可以选择分支和合并。此外,如果您发现自己处于需要与其他开发人员共享的情况下,他们可以获得您的某个分支机构的本地副本。

#4


+1 for nickf's recommendation.

为nickf的推荐+1。

Two things to make starting out with it easier (for Windows anyway):

开始时要做的两件事情更简单(对于Windows无论如何):

One-click install of both together: http://svn1clicksetup.tigris.org/

一键安装两者:http://svn1clicksetup.tigris.org/

Visual SVN Server: http://www.visualsvn.com/server/

Visual SVN Server:http://www.visualsvn.com/server/

#5


Git is what you're looking for.

Git是你正在寻找的。

  1. distribution - you mentioned you wish to be able to have version control even when you're network is down.

    发行 - 你提到你希望能够在网络中断时进行版本控制。

  2. syncing - merging in git is painless unlike SCMs like CVS or SVN.

    同步 - 与CVT或SVN等SCM不同,在git中合并是无痛的。

I use git on windows, and it works great for me.

我在windows上使用git,它对我很有用。

#1


You can put an SVN repository (which is just a folder with some files in it), on a local drive, or an external hard drive too. I've been using something like this for quite some time and it's worked really well.

您可以在本地驱动器或外部硬盘驱动器上放置SVN存储库(其中只包含一些文件的文件夹)。我已经使用了这样的东西已经有一段时间了,而且效果非常好。

I can't make any comment about whether it's better than GIT or any other VCS system, but I've found SVN to be really quite good. The documentation and supporting tools that have been built for it (eg: TortoiseSVN) are really good.

我不能对它是否比GIT或任何其他VCS系统做出任何评论,但我发现SVN确实非常好。为它构建的文档和支持工具(例如:TortoiseSVN)非常好。

#2


Mercurial is also pretty nice, and there is even a Visual Studio source control provider for it (which I've never tried, but it exists!). It's fast, it's free (as in beer and in speech) and it's distributed, which means that it should handle merges between different computers well - better than Subversion even, I'd wager. It's also being used by some fairly large projects, including Mozilla, the OpenSolaris and OpenJDK teams at Sun, and (soon) the Python project itself.

Mercurial也很不错,甚至还有一个Visual Studio源代码控制提供程序(我从未尝试过,但它存在!)。它很快,它是免费的(如在啤酒和语音中)并且它是分布式的,这意味着它应该很好地处理不同计算机之间的合并 - 甚至比Subversion更好,我敢打赌。它也被一些相当大的项目使用,包括Mozilla,Sun的OpenSolaris和OpenJDK团队,以及(很快)Python项目本身。

#3


Sounds like a distributed version control system like GIT or Bzr might be what you are looking for, you can keep all of your code locally (setup the repository on your external storage device) but you still get the option of branching and merging. Plus if you do find yourself in the situation where you need to share with another developer they can just get a local copy of one of your branches.

听起来像GIT或Bzr这样的分布式版本控制系统可能就是您所需要的,您可以在本地保存所有代码(在外部存储设备上设置存储库),但您仍然可以选择分支和合并。此外,如果您发现自己处于需要与其他开发人员共享的情况下,他们可以获得您的某个分支机构的本地副本。

#4


+1 for nickf's recommendation.

为nickf的推荐+1。

Two things to make starting out with it easier (for Windows anyway):

开始时要做的两件事情更简单(对于Windows无论如何):

One-click install of both together: http://svn1clicksetup.tigris.org/

一键安装两者:http://svn1clicksetup.tigris.org/

Visual SVN Server: http://www.visualsvn.com/server/

Visual SVN Server:http://www.visualsvn.com/server/

#5


Git is what you're looking for.

Git是你正在寻找的。

  1. distribution - you mentioned you wish to be able to have version control even when you're network is down.

    发行 - 你提到你希望能够在网络中断时进行版本控制。

  2. syncing - merging in git is painless unlike SCMs like CVS or SVN.

    同步 - 与CVT或SVN等SCM不同,在git中合并是无痛的。

I use git on windows, and it works great for me.

我在windows上使用git,它对我很有用。