Source Control (How Do I in Team Foundation)
This page links to help on widely used Team Foundation source control tasks. To view other categories of popular tasks covered in Help, see How Do I in Team Foundation.
In General
- Team Foundation Source Control
Provides an overview of Team Foundation source control.
- Introduction to Team Foundation for Visual SourceSafe Users
Explains key differences between Visual SourceSafe and Team Foundation source control. This topic is ideal for Visual SourceSafe users new to Team Foundation source control.
- Walkthrough: Exploring Team Foundation Source Control
Describes how to create a new Visual Studio project, add it to source control, and check in changes using Source Control Explorer.
- Walkthrough: Working with Team Foundation Source Control from Command Line
Describes how to use create a workspace, edit files, and check in changes using the command line.
- How to: Configure Visual Studio with Team Foundation Source Control
Describes how to configure Visual Studio to use Team Foundation source control and how to configure environment settings for Team Foundation source control.
Work Items
- How to: Link Work Items to Source Code Files
Describes how to link a work item to source control files.
- How to: Link Work Items to Changesets
Describes how to link a work item to a changeset.
- How to: Open Changesets from Work Items
Describes how to open a changeset from a work item.
- How to: Find Changesets to Link to Work Items
Describes different options for searching for changesets when you need to find a changeset to link to a work item.
Source Control Migration
- Walkthrough: Preparing to Migrate from Visual SourceSafe to Team Foundation
Describes how to identify and resolve data integrity issues, backup your Visual SourceSafe database, analyze your Visual SourceSafe database for migration issues, and create a user list to map Visual SourceSafe users to Windows accounts.
- Walkthrough: Migrating from Visual SourceSafe to Team Foundation
Describes how to specify which projects to migrate, and how to use the converter tool to migrate Visual SourceSafe projects to Team Foundation source control.
- How to: Create a Settings File for Source Control Analysis and Migration
Describes how to create a settings file to analyze a Visual SourceSafe database for potential issues before migration.
Working with Files
- How to: Check Out and Edit Source-Controlled Items
Explains how to use Solution Explorer or Source Control Explorer to check out and edit a file under source control.
- How to: Delete Files and Folders from Source Control
Describes how to delete files and folders.
- How to: Add Non-Project or Non-Solution Files and Folders to Source Control
How do I work with existing Visual Basic 6 and .NET projects that I do not want to upgrade?
- How to: Associate a File Type with a Difference Tool
Describes how to associate a file type with a third-party diff tool.
- How to: Associate a File Type with a Merge Tool
Describes how to associate a file type with a third-party merge tool.
- How to: Show Differences between Two Files or File Versions
Describes how to compare files or shelved items for differences.
- How to: Add File Type Association with Team Foundation Source Control
Describes how to specify keyword expansion or multiple check-out settings for specific file types.
- How to: Edit File Type Association with Team Foundation Source Control
Describes how to edit a file type association to customize how the source control system processes files with specific extensions.
- How to: Remove a File Type Associated with Team Foundation Source Control
Describes how to remove a file type association.
Workspaces
- How to: Create a Workspace
Describes how to create a workspace to map files under source control to your local folders.
- How to: Add and Remove a Working Folder in a Workspace
Describes how to add or remove working folders in an existing workspace.
- How to: Edit a Workspace
Describes how to edit an existing workspace to change the name, comments, or working folders.
- How to: Cloak and Decloak Folders in a Workspace
Explains how to hide folders in your workspace to improve performance and usability.
- How to: Remove a Workspace
Describes how to remove a workspace.
- How to: Identify Source Control Item Status in Solution Explorer
Explains the meaning of different source control icons you can see in Solution Explorer.
Changesets and Pending Changes
- How to: View and Manage All Pending Changes in Your Workspace
Describes how to use the Pending Changes and Check In windows to undo pending changes, remove an item from pending changes, or compare files.
- How to: Find a Changeset
Describes how to use Source Control Explorer to find a changeset.
- How to: View Details for Changesets
Describes how to use the Find Changesets window or History window to view details for changesets.
- How to: Retrieve Old Versions of Files from Changesets
Describes how to get older versions of files from changesets.
- How to: Check In Pending Changes
Describes how to check in pending changes in a changeset.
- How to: Undo Pending Changes
Describes how to undo pending changes.
Shelving
- Walkthrough: Shelving Source Control Items
Demonstrates how to use the shelving feature to temporarily store changes in source control without committing them.
- How to: Shelve and Unshelve Pending Changes
Describes how to shelve pending changes in source control, and how to unshelve them to your local computer.
- How to: Find a Shelveset
Describes how to find a shelveset in source control.
- How to: View Details for Shelvesets
Describes how to view details such as name, owner, and date using the Unshelve dialog box.
- How to: Delete a Shelveset
Describes how to delete a shelveset.
Branching and Merging
- Walkthrough: Advanced Functionality of Source Control
Demonstrates how to use branching, merging, and labeling in Team Foundation source control.
- How to: Branch Files and Folders
Describes how to branch files and folders.
- How to: Merge Files and Folders
Describes how to merge files and folders.
- How to: Resolve Conflicts
Describes how to resolve conflicts during a merge, pending change, or get operation.
Labels
- How to: Apply Labels
Describes how to apply a label to organize a set of files in a revision.
- How to: Edit Labels
Describes how to edit labels to change items or comments.
- How to: Find Labels
Describes how to find labels in source control.
- How to: Remove Labels
Describes how to remove labels.
Check-in Policies and Check-in Notes
- How to: Add Check-in Policies
Describes how to require specific check-in policies for source control.
- How to: Edit Check-in Policies
Describes how to edit the requirements for check-in policies for source control.
- How to: Remove Check-in Policies
Describes how to remove a check-in policy as part of check-in requirements.
- How to: Enable and Disable Check-in Policies
Describes how to enable or disable check-in policies.
- How to: Configure Check-in Notes
Describes how to configure check-in notes.
Security
- How to: Control Access to Team Foundation Source Control
Describes how to add users and groups to Team Foundation source control security.