简体   繁体   English

Visual Studio 2012 - 获取最新和列出已更改的文件?

[英]Visual Studio 2012 - Get latest and list changed files?

有没有办法让visual studio 2012列出通过最新操作在工作区中更新的文件?

Yeah, once you've done a get latest (or get specific or woteva), you can check the output window - make sure that the Show output from: is set to "Source Control - Team Foundation Server" 是的,一旦你完成了最新的(或获得特定的或woteva),你可以检查输出窗口 - 确保Show output from:设置为“Source Control - Team Foundation Server”

It'll look something like this after the get: get之后看起来像这样:

Replacing c:\tempcode\internal\UnitController.cs  
Replacing c:\tempcode\internal\PieSeriesData.cs

Not elegant i know. 我知道并不优雅。

edit: 编辑:

When you have the Source Control Explorer open and have your project or project folder selected in the elft tree view, on the right the files are listed. 打开源控制资源管理器并在elft树视图中选择项目或项目文件夹后,将在右侧列出文件。 There is a column "Latest" indicates which files (in your workspace) are out of date and a column "Pending Changes" which indicate whether you have pending changes not yet pushed to server. 有一列“最新”表示哪些文件(在您的工作区中)已过期,另一列表示“待更改”,表示您是否还有尚未推送到服务器的待处理更改。 You can [before getting latest] right click on that file and compare with the server. 您可以[在获取最新版本之前]右键单击该文件并与服务器进行比较。

I'm sure there are other ways too 我相信还有其他方法

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM