English 中文(简体)
Team Foundation 服务器 How to Edit file without Check it out
原标题:Team Foundation Server How to Edit file without checking it out
  • 时间:2010-03-09 14:30:39
  •  标签:
  • 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.

最佳回答

好的...您可以将文件取消标记为只读,然后在与Visual Studio不同的程序中进行编辑。或者,您仍然可以使用Visual Studio,但在打开其所属的解决方案时不进行编辑。

Quite frankly, I d look into other options with regards to why 1. that file needs to be in source control. 2. If it does need to be in source control, why does your copy need to be different.

问题回答

好的,在VS2010中,这相对容易,也很正常。我的意思是,源代码控制的锁定模式已经过时了。

在vs2010中,单击工具->选项->源代码管理->环境并选择允许已签入的项进行编辑。这应该防止TF客户端将文件标记为只读。

您可能需要在“源代码控制”->“环境”中更改编辑下拉菜单,以不做任何更改

只需在本地取消文件的只读标志。

当你尝试执行“获取最新版本”操作时,可能会出现一些问题,警告你有一个本地可写文件。





相关问题
Why not use TFS as a build / CI solution?

Currently our build solution is set up using TFS + MS Build scripts. TFS is also being used as a CI server. I ve seen several posts on this site telling people about other CI solutions. Are there ...

Get files from TFS under Linux [closed]

is there a free (command line) tool for linux which with I can get all files from a TFS-Repository (no Check in / Check out required - only get actual version)?

upgrading tfs 2008 sp1 to use sql server 2008

I have an instance of tfs 2008 supported by sql server 2005. I want to change the sql server machine by doing a restore based move. I also want to change the version of sql server to 2008. I know ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...

TFSReg in 2010 Beta 2?

does anybody know what is the equivalent of the TFSReg.exe command-line tool in 2010 Beta 2? I cannot find it anywhere, I searched the entire Program Files tree. Was it renamed? Moved? Replaced by ...

热门标签