VS 2010 - Team Foundation Server 2010 Difference between GET and Check Out

Posted on 2014-04-02
Last Modified: 2014-04-02
Hi and thanks,

I am very new to VS & Team

I have looked at: 

I don't understand most and need it more basic.  It only brings me to more questions. but will limit questions per post.

For this post my question is what is the difference between a GET and a CHECK OUT?

My understanding is a Get lastest version, is a way to get that package from the Team server and put it on your desktop so that you can do some work on it?
This raises a question?
If this is true then will it only download the package to my desktop and NOT effect anything on the Server???
Also: I am looking at extensions .dtsx, .cs, .csproj, .csproj.vspscc,
Which one should I do the GET (download) to: my guess is the .dtsx
would this be correct???

Does the Check Out only mark it on the Server so that others know that you have checked it out and are working on it???
And this is the only reason for the Check Out???

Thanks for any help....
Question by:Amour22015
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
  • 6
  • 5

Expert Comment

ID: 39972635
The Get allows you to download the most recent version of the code to your local system.  But in order for you to work on it you must do a Check Out which lets others know that project is currently be worked on by someone else.  When you check that back in it copies the file from your PC back to the server.  So the next time someone does the Get Latest, they are getting the copy of the file that you last updated.

Author Comment

ID: 39972726
I noticed that if I right click on lets say the .dtsx file it will not allow the Check Out (it is grayed out) option.  Yet the Get lastest Version is allowed (not grayed out).  So does this mean that you have to first do the Get option?

Can I work on it without doing the Check Out???

I want to be able to just do some training (to myself) without anyone saying that I checked it out.  This might make someone think that I checked out there job.  At this point I just want to get to know with hands on to ramdomly download a job and look at it or even mess it up without anyone knowing.  So later when I do get a real job I can knowingly go get it and work on it.


Expert Comment

ID: 39972759
Not sure why you can't check out the dtsx file, maybe its a setting in TFS.

If you want to work on a file that is in TFS you have to check it out.  or you could make a copy of the project you want to work on and remove the TFS files (.suo and .vssscc files) so that you don't have to check it out.

Another option, but maybe not what you want if you don't want people to know your checking files out...which seems odd.  You can check out a file for edit do what ever you want and then instead of checking the file back in, you can select undo checkout which will undo all the changes you did and check the file back in.  But there will be a record that the file was checked out and checked in by you.  Unless otherwise configured, only one person can checkout a file at a time.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 39972854
I guess that is why this is making me confused: 

First you have to create a folder on your local desktop then:
I am understanding that I first have to make a workspace that points to that local drive.  in order to CHECK OUT the package? and that was why the option CHECK OUT is grayed out?

I guess I am totally confused...

Expert Comment

ID: 39973001
Yep you need a place for files, so the project/solution you want to download has a spot to copy to.  Then you get the latest version of the code which downloads a local copy to your system for you to be able to edit.  But you must check out the specific file(s) before you can make edits.  Then as I said before, once you check in the file it copies your local file to the server so when others get latest, they are getting the most recent update that you made.  If you don't have the file paths setup, that's probably why its greyed out.  You may want to check with your local TFS admin to make sure you have the rights to edit the file(s) too.

Author Comment

ID: 39973115
I noticed that after I right clicked and did a GET Latest Version, I was allowed to then right click and select CHECK OUT (it is not grayed out anymore)

So you do have to first Get then Check out...
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 39973162 will not allow the Check Out (it is grayed out)
Check with the project administrator (i.e. the TFS project admin) and ensure you have permission to modify the project. Also check that there are no locks on the file. You can place a lock on a file (or files) that prevent others from checking them out. The person who placed the lock would have to remove it.

Author Comment

ID: 39973187
So I was able download (I think) and I did these steps:

Right click the project and select GET Latest Verision


Right click the project and select Check Out

and I am know guessing (that is why I mentioned (I think)) that the project is on my local drive.

Thanks for any help

Expert Comment

ID: 39973197
Yep so now you have the project checked out to yourself.  If you make any edits and check it back in, then those edits will be saved to the files on the server for the next person to download.  Or you can not edit and check back in, or undo check out and nothing will new will be saved.

Author Comment

ID: 39973213
So let me get this correct.

1.) I can now go to my local drive (were the Check Out was placed locally)

2.) Bring this project into my Solution Explorer

3.) work on it, mess it up, all etc...

4.) right click, select "Undo Pending Changes"

and it will not effect anything???


Accepted Solution

dustock earned 250 total points
ID: 39973383
Yep sounds like you have it

Just remember though, you have created the working folder/directory for the project on your local drive which downloaded the project from the files on the server.  When you do the get latest, it is updating you local copy.  No matter what the status is (checked in or checked out) that local copy will always remain.  And yes as long as you select Undo Pending Changes it will not update the server with anything and your local file will go back to what it was like before you messed it up.

Author Closing Comment

ID: 39973392
Great thanks

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question ( here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

733 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