Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Version Control in Visual Studio

I'm currently working on a large project, and am about to make some large changes, and was looking for a way to 'backup' my prior work. Is there built in functionality in Visual Studio to work with version control?

This project is developed only by me, and doesn't use Team Foundation Server (which is what most of my googling seems to give me answers on). Ideally, I would like to identify and restore all the different versions of my program as it evolves, without having to worry about totally messing something up...

Cheers and thanks in advance!

---EDIT--- With a version control system though, would that be stored on a seperate server? Or is it possible to store it locally? I'm more just concerned that I will just seriously mess up my code and not be able to undo it at some point...

like image 620
keynesiancross Avatar asked Jan 05 '11 21:01

keynesiancross


People also ask

Does Visual Studio have version control?

Visual Studio version control docs Share your code from within Visual Studio by using source control technologies such as Git and GitHub.

What is Visual Studio version control?

Version Control (aka Revision Control aka Source Control) lets you track your files over time.

What is meant by version control?

Version control, also known as source control, is the practice of tracking and managing changes to software code. Version control systems are software tools that help software teams manage changes to source code over time.


1 Answers

There are several third-party source control integration tools, such as AnkhSVN or VisualSVN for SVN repositories (I use the former and can gladly recommend it). As far as "built-in", Visual Studio supports Team Foundation Server and Visual Source Safe out of the box, but those are both paid products and VSS should be avoided (in my opinion) for any new work.

Personally, I use TortiseSVN (for Windows integration) and AnkhSVN (for VS integration) with our SVN repository. There are free SVN servers as well, so you can get by with a very good solution while paying $0.

like image 149
Adam Robinson Avatar answered Oct 05 '22 20:10

Adam Robinson