?
Solved

TFS Express - Basics of source control.

Posted on 2014-02-13
4
Medium Priority
?
181 Views
Last Modified: 2014-02-22
Hi,

I am a single developer wanting to manage my source code better.

I have created a Team Foundation Server (express) account online. I have connected my Visual Studio 2012 to this server. I have checked in one of my existing projects.

I want to use this as an automatic backup and rollback mechanism in case I make a mistake in the project.

How do I set it up so I can roll back my project to the last build I did 2 days ago?

Thank you
0
Comment
Question by:mhdi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 96

Assisted Solution

by:Bob Learned
Bob Learned earned 2000 total points
ID: 39859990
There are different ways to roll back, but one way is described here:

Roll Back Changesets
http://msdn.microsoft.com/en-us/library/ms194956(v=vs.110).aspx
0
 

Author Comment

by:mhdi
ID: 39860705
I will generally only update my applications every few weeks. Changes normally take me only a few hours.

After some reading I see changesets are created when something is checked in.

So should I hold off checking anything in until my changes are completed? Or do you periodically check things in (even if your not done) to create a save point.
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 2000 total points
ID: 39860833
I try to check in every day.  Changesets are different than labels.  Labels can be used to create a set of changesets that are related to product release.

Use labels to take a snapshot of your files
http://msdn.microsoft.com/en-us/library/ms181439.aspx

I try to label all version changes that are released to User Acceptance Testing (UAT).  

http://msdn.microsoft.com/en-us/library/ms194956.aspx
0
 

Author Comment

by:mhdi
ID: 39860897
Labels seem to be what I want. Thank you.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question