Solved

TFS Express - Basics of source control.

Posted on 2014-02-13
4
149 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Normally the drop down box control found in the .Net framework tools is able to select just one data and value at a time, which is displayed on the text area.   But what if you want to have multiple values to be selected in the drop down box? As …
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 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

12 Experts available now in Live!

Get 1:1 Help Now