If you are like me you perform a shuffle before checking anything in to a Source Control Repository and TFS is no different
As for shuffle:
- Get Latest
- Fix merge conflicts
- Fix build errors
- Run tests
- Fix broken tests
- Go to 1 (until there is nothing new to get)
Only check in when all steps are complete.
Then check the Pending Changes that you have nothing else left to check in, if you do then perform the above shuffle for each pending change.
To get to the Pending Changes window select View–>Other Windows–>Pending Changes
Other useful references: