Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Azure DevOps Services | Azure DevOps Server 2022 - Azure DevOps Server 2019
Visual Studio 2019 | Visual Studio 2022
Occasionally a team member is blocked from checking in a file that someone else has locked. You can use Team Foundation Version Control (TFVC) commands in this situation:
tf undo
command.tf lock
command. For more information, see Lock command.tf workspace
command. For more information, see Remove a workspace.Category | Requirements |
---|---|
Permissions | Administer workspaces permission set to Allow. |
For more information, see Default TFVC permissions.
Open Developer Command Prompt for your version of Visual Studio.
Enter the following command at the command prompt. Replace the arguments with values that are appropriate for your needs.
tf undo /workspace:<other-user-workspace>;<other-user> $/<project-path>/<file-name> /collection:<team-project-collection-url>
For example, you might enter the following command:
tf undo /workspace:OtherUserWorkspace;OtherUser $/TeamProject/MyFile.cs /collection:https://YourTFSServer:8080/tfs/YourCollection
For more information, see Undo command.
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowTraining
Module
Manage source code by using version control in finance and operations apps - Training
When you're collaborating with other developers, it's important to manage your source code by using version control. For finance and operations apps, source code is managed by using Azure DevOps within Visual Studio.