Solved

TFS Express - Basics of source control.

Posted on 2014-02-13
4
150 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
  • 2
  • 2
4 Comments
 
LVL 96

Assisted Solution

by:Bob Learned
Bob Learned earned 500 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 500 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 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

Need Help in Real-Time?

Connect with top rated Experts

29 Experts available now in Live!

Get 1:1 Help Now