0
votes

How might I run git tfs clone without permissions to create a temporary workspace--or, alternatively, specify an existing permanent workspace which git tfs should not cleanup afterward?

Running command:

git tfs clone --branches=all http://tfs:8080/tfs/DefaultTFSCollection "$/Project"

Error:

TF14044: User {USER} needs the CreateWorkspace global permission(s).

For what it's worth, our TFS admins create workspaces (same as %COMPUTERNAME%). However, my user does not have permissions to create workspaces.

Have downloaded and identified the source code location which seems to perform the temporary workspace creation.

However, can I just not do so? What benefit does a temporary workspace provide?

Use case: Migrating away from TFS 2012 TFVC, to Git (Azure DevOps). So just want to clone. No future need to write back to TFS TFVC.

Thank you