How do I know which files I actually changed since

2019-04-08 22:29发布

问题:

I've checked out a bunch of files from TFS in VS2010 and made changes to several of them. How can I see which files I actually made changes to?

回答1:

Use the TFS power tools. Open a visual studio command prompt, navigate to your workspace and then type

tfpt uu /noget /recursive

This will undo any pending changes on files that haven't been modified



回答2:

Is View -> Other Windows -> Pending Changes what you are looking for? That lists all of the changes in your selected workspace that are pending a check-in. It looks (and behaves) differently in VS2010, but here's what it looks like in VS2012.



回答3:

To add to hawkke's answer, I use CTRL-K C to show the pending changes window - very useful.

(hit ctrl-k and the then 'C' key right after).