新手的版本控制
我对编程和网络开发相当陌生,到目前为止,我还没有参与过任何我认为足够大以保证使用适当的版本控制的项目。然而,我现在正在从事一个越来越大的项目(非常令人兴奋!)。我认为使用某种版本控制是明智的。目前我独自工作,但如果这个项目达到我想要的目标,那么我预计在某个时候我将需要(并且想要!)其他一些人加入。 我的问题是因为我从未使用过版本控制,我真的不知道它是什么,它是如何工作的等等。
我希望这个问题不被归类为主观问题。我并不是要求人们告诉我他们认为最好的版本控制,我很高兴花一些时间环顾四周并亲自尝试它们。
我真的希望有些人能够让我快速了解标准版本控制系统的工作原理(我知道它们都会有所不同,但我在这里谈论基础知识),如果可能的话,以非主观的方式方式来解释一些主要参与者之间的差异。即 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
维基百科的答案:
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.
如果你单独工作,分布式模型可以工作吗?
我在家里使用 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.