Team Foundation Server How to Edit file without checking it out

tfs

i'm working with TFS and i need to edit file localy without checking it out .
another case if some one checked in the file and i need to change my locally copy.

what should I do ?
in Visual source safe we can do that by removing the read only check on the file.

Best Answer

Ok, this is relatively easy in VS2010, and quite normal. I mean the locking model of source control is obsolete anyway.

In vs2010, click Tools -> Options -> Source Control -> Environment and select Allow checked-in items to be edited. This should stop the TF client from marking files as read-only.

Also you may have to change the Editing drop-down in Source Control -> Environment to Do nothing.