新手的版本控制

发布于 2024-10-08 02:24:01 字数 409 浏览 4 评论 0原文

我对编程和网络开发相当陌生,到目前为止,我还没有参与过任何我认为足够大以保证使用适当的版本控制的项目。然而,我现在正在从事一个越来越大的项目(非常令人兴奋!)。我认为使用某种版本控制是明智的。目前我独自工作,但如果这个项目达到我想要的目标,那么我预计在某个时候我将需要(并且想要!)其他一些人加入。 我的问题是因为我从未使用过版本控制,我真的不知道它是什么,它是如何工作的等等。

我希望这个问题不被归类为主观问题。我并不是要求人们告诉我他们认为最好的版本控制,我很高兴花一些时间环顾四周并亲自尝试它们。

我真的希望有些人能够让我快速了解标准版本控制系统的工作原理(我知道它们都会有所不同,但我在这里谈论基础知识),如果可能的话,以非主观的方式方式来解释一些主要参与者之间的差异。即 Mercurial 和 git 之间有什么区别,而不是哪个更好 - 我会自己决定,谢谢!

I'm fairly new to programming and web dev and up until now I haven't worked on any projects that I felt were large enough to warrant using proper version control. However, I am now working on a project that is getting bigger and bigger (very exciting!). I think it would be prudent to use some kind of version control. At the moment I work alone, but if this project gets where I want it to then I expect at some point I am going to need (and want!) some other people to come on board.
My problem is because I've never used version control, I don't really know what it is, how it works etc etc.

I hope this question isn't classed as subjective. I'm not asking for people to tell me which version control they think is best, I'm quite happy to spend some time looking around and trying them out for myself.

I'm really wanting some people to either give me a quick run down of how a standard version control system works (I know they'll all be different, but I'm talking basics here) and if possible, in a non-subjective way, to explain the differences between some of the major players. ie what is the difference between mercurial and git, not which is better - I'll decide that for myself thank you!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

最初的梦 2024-10-15 02:24:01

维基百科的答案:
http://en.wikipedia.org/wiki/Revision_control

但是,您应该注意阅读有关 VCS 的内容除非你自己做,否则它毫无用处。在我开始使用 DVCS(分布式版本控制系统)之前,我从未理解它的概念。我在尝试找出使用 SVN、Mercurial 和 Git 的好处时也有过类似的经历,当我开始使用其最佳实践时,一切都变得清晰起来。

Wikipedia answers:
http://en.wikipedia.org/wiki/Revision_control

However you should note that reading about VCS's its quite useless until you do it yourself. I never understood this DVCS(Distributed Version Control System) concept until I started using it. I had some similar experience with trying to figure out the benefits of using SVN, Mercurial and Git, it all became clear when I started using its best practices.

御守 2024-10-15 02:24:01

如果你单独工作,分布式模型可以工作吗?

我在家里使用 Subversion 来完成我自己的工作。

我认为Subversion红豆书是一本关于如何使用版本控制的很好的通用读物:分支、标记等等。即使您不选择 Subversion,也值得阅读一下。

If you're working alone, can the distributed model work?

I use Subversion for my own work at home.

I think the Subversion red bean book is a great general read about how to use version control: branching, tagging, etc. It's worth reading a bit even if you don't choose Subversion.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文