Hello,
If I use the same directory name for cloning a TFS repo, I get the following message:
Initialized empty Git repository in c:/wrk/testrepo/.git/
The path c:\wrk\testrepo\.git\tfs\default\workspace is already mapped
in workspace git-tfs-fff779c0-3c40-4e30-a0ee-1c34b0415153.
You may be able to resolve this problem.
- Run 'git tfs cleanup-workspaces' to remove the workspace.
$ git tfs cleanup-workspaces
This command must be run inside a git repository!
Already at top level, but .git not found.
Command exited with error code: 128
After I get the first message, the "testrepo" folder vanishes immediately, which is how I get the second message.
Deleting the contents of the Microsoft Team Foundation Local Workspaces directory in C:\ProgramData and C:\Users\AllUsers did not help.
I am using git-tfs 0.17.1.
Is there a way to find where the workspace mapping data is so I can remove any old data inside it?
Thanks in advance!