A good version control application [closed]

╄→гoц情女王★ 提交于 2019-12-23 04:42:37

问题


What is the best version conrtol application? I'll setup it to my Windows 7. I have installed WAMP. So it could be eider Windows 7 application or PHP application. And my purpose is to manage / version-control PHP files only.


回答1:


For windows, it's hard to beat the simplicity of SVN via Tortoise SVN. That being said, I much prefer the power, speed, model, and flexibility of git. git runs on windows, and would be well worth the effort it takes to learn.

Understanding the brilliance behind git will pay huge dividends to you as a software engineer.

15 second Git tutorial Edit: It was 17 seconds.

Git started:

cd c:\dev\project
git init
git add .
git commit -m "Initial Commit"

Edit edit edit:

git add file1.txt
git add file2.txt
git commit -m "Fixed up thingy."

Look at status:

git status

Look at history:

git log



回答2:


I am happy on Windows 7 with Subversion with TortoiseSVN as Client. VisualSVN Server is a nice, point-and-click solution to setting up the Server with very little hassle.

If you're running 64 bit Windows, be sure to install the 32 bit and 64 bit versions of Tortoise alongside, so you get Shell integration from within 32 bit IDEs.




回答3:


My preference is perforce, free for home use (up to 2 users), and trivial to setup if your code repository is going to be on the same machine that you write code on. Only a little bit harder if it isn't.

It scales well enough that it's used in a lot of professional coding houses. And it integrates with VisualStudio (I'm told, I use the command line version because I'm an old timer).




回答4:


  • Git
  • Mercurial (See TortoiseHg)
  • Subversion (See TortoiseSVN)

All 3 are great - experiment to see what's best for you. For repository hosting, check out Github, Bitbucket (Mercurial) and Beanstalk (svn).



来源:https://stackoverflow.com/questions/1960163/a-good-version-control-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!