Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

TFS Express - Basics of source control.

Posted on 2014-02-13
4
Medium Priority
?
187 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

610 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