什么是 SVN、GIT、Mercurial 等?
我有一个问题,这就是标题,据我所知,它们是通过互联网存储文件的东西或某个地方,这样只要有互联网,您就可以从任何地方检索它,但为什么它们有这么多类型?如果它们所做的都是相同的事情,那就是存储文件,然后还允许您检索它们。
i have a question and that is the title, from what i know they are something or someplace to store files over the internet so you can retrieve it from anywhere as long as you have internet, but why are there so many types of them? if all they do is the same thing that is to store files and then also allow you to retrieve them.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
没有备份系统,它们是版本控制。
您可以在计算机上使用 Git 或 Mercurial,无需任何互联网连接。它背后有两个主要思想:
There not backup systems, they're version controls.
You can use Git or mercurial on your computer without any internet connection. There are two main ideas behind it :
这是对源代码控制的非常好的介绍:
http://www.ericsink.com/scm/source_control .html
Git 和 Mercurial 正在尝试满足相同的要求,但它们是分布式源代码控制系统。基本思想非常相似。一旦您理解了,请阅读以下内容:
http://hginit.com/
这是一个 Mercurial 教程,还将教您什么是分布式源代码控制就是这样。
This is a really good introduction to Source Control:
http://www.ericsink.com/scm/source_control.html
Git and Mercurial are trying to meet the same requirements, but are Distributed Source Control systems. The basic ideas are very similar. Once you understand, read this:
http://hginit.com/
It's a Mercurial tutorial that will also teach you what distributed source control is all about.
http://en.wikipedia.org/wiki/Distributed_version_control_system — 这将为您提供足够的初始理解。
http://en.wikipedia.org/wiki/Distributed_version_control_system — this will give you enough for initial understanding.
正如上面其他答案中更详细的回答; svn、git 和 Mercurial 是源代码控制技术。即保持文件版本。并可选择通过互联网访问。它们并不是专门为通过互联网共享文件而设计的。
专门为基于 Internet 的文件共享而设计的服务有 DropBox、JungleDisk 甚至是老式的 FTP,有时还有非法的 p2p,例如 BitTorrent。
As answered in more detailed in other answers above; svn, git and mercurial are source control technologies. I.e. to keep files versioned. And optionally access via the internet. They are not designed specifically to share files over the internet.
Services specifically designed for internet based file sharing are DropBox, JungleDisk or even old fashioned FTP and sometimes illegal p2p such as BitTorrent.