1
我想弄清楚如何連接到TFS並獲取存儲在託管TFS(即 - visualstudio.com)上的代碼到我的linux網站服務器。TFS工作區和Workfold在Linux上與託管TFS衝突(VisualStudio.com)
我已經安裝了TFS命令行客戶端(tf.exe)
我運行以下命令:
$ tf workspace -new "My - Workspace" -collection:https://me.visualstudio.com/DefaultCollection -login:user,pass
然後,我列出了工作區:
$ tf workspaces
Collection: https://gotmike.visualstudio.com/DefaultCollection/
Workspace Owner Computer Comment
-------------------- ----------- ------------------ -------------
My - Workspace My Name ip-xxx-xxx-xxx-xxx
所有看起來不錯...
然後,我嘗試運行工作...
$ tf workfold -map -login:user,pass -server:http://me.visualstudio.com -workspace:"My - Workspace" '$/My - Workspace/My - Workspace' '/home/me/test'
An argument error occurred: The workspace 'My - Workspace' could not be found.
如果它出現在列表中,怎麼能找到它?我究竟做錯了什麼?
使用這個當我得到了同樣的錯誤... – gotmike