2
It seems like your project is currently configured to use Git as the source control system, and you want to switch it to Team Foundation Server (TFS). Here are the steps you can follow:
-
Unbind the project from Git:
- Open your project in Visual Studio.
- Go to
File > Source Control > Advanced > Change Source Control
.
- Select your solution and click on
Unbind
.
-
Remove Git related files:
- Close Visual Studio.
- Navigate to your project directory and delete the
.git
folder. Make sure to enable viewing hidden files in your file explorer to see this folder.
- Also, delete the
.gitignore
and .gitattributes
files if they exist.
-
Bind the project to TFS:
- Open your project in Visual Studio again.
- Go to
File > Source Control > Advanced > Change Source Control
.
- Click on
Bind
to bind your project to TFS.
Please make sure to backup your project before making these changes. If you have any commits in Git that you want to preserve, you should push them to a remote repository or create a patch file before unbinding Git.
Thanks
