Search code examples
svnvisual-studio-2010gitversion-controlmercurial

demystify source version control with visual studio 2010


Update

So in my Original question I was just frustrated because I was being pushed to use source control but I just couldn't understand it (after using SVN & VSS).

I meandered a little bit, and after visiting it a few times, decided to read http://www.hginit.com and it practically was my salvation.

DCVS, (atleast for me being a single dev) just makes sense, and I understood source control. DCVS is the way/philosophy that both GIT and Mercurial Operate on, I guess they both are very similar, however, GIT is not evolved on Windows, Mercurial however has good tools @grenade has mentioned all of them in his answer. The installs were painless and I'm working very happily now.

Also, I use FogBugz which is mercurial based and pretty awesome! =D

Read http://www.hginit.com the WHOLE thing, even if you think it might not apply to you!

Check out Linus Torvalds Talk on Git. - Generally amusing and you understand what DCVS is. This Stackoverflow Blog article might be helpful.

Note, http://www.codeplex.com and http://code.google.com/projecthosting/ both support mercurial

Also see : idiots checklist for mercurial with visual studio 2010


Original Question:
Lord all I ask is for some simple software that will maintain versions of my files and revert to ones I want.

Personally, I felt like just using a nice backup tool I have to just zip up a copy of my folder on another drive when I want. But they said I Have to use SOME source versioning.

Already posted the problem I had with SVN. Now its GIT.

I downloaded msysgit preview 1.7.2.3 from here http://code.google.com/p/msysgit/ Then GIT Extensions from the code.google.com Then I downloaded p4merge from here : http://www.perforce.com/perforce/downloads/index.html

I have Win7 x64 with VS2008. I see the GIT menu in VS, but nothing happens!? Jeez!

Worst, where are the docs? Whats Bash, Stash, Cherry Pick? Anything I click on the VS GIT toolbar or the Git Menu in VS does not do anything! I downloaded the complete setup : http://code.google.com/p/gitextensions/downloads/detail?name=GitExtensions203SetupComplete.msi&can=2&q= BUT I dont see KDiff3 anywhere on my pc? p4merge itself has its own problems asking me for some server address for config when I want everything local!

Could someone PLEASE suggest something hideously simple I dont do big projects, mostly all in house utilities, I'm a one man team and I like to keep it simple.

NOTE: I need something that works with Win7x64 and VS2010, vs2008 is on my home PC but VS10 on the dev box


Solution

  • hginit is a very simple tutorial that will show you a simple way to manage your source code.

    Git is a good one but I don't use it so I don't know what's gone wrong. I use Mercurial with TortoiseHG, VisualHG and some private repositories on BitBucket. Joel's tutorial at hginit.com explains everything you need to know.