A good version control application [closed]
开发者_如何转开发
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this questionWhat 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.
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
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.
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).
- 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).
精彩评论