获得命令问题 [英] tf get command issue

查看:69
本文介绍了获得命令问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是tf命令的新手,面对使用它的问题。  我执行时遇到以下错误 
$


tf get / recursive / all / noprompt  

 



错误消息: 



发生参数错误:无法确定工作空间。您可以通过运行'tf workspaces -collection:TeamProjectCollectionUrl'来解决这个问题。



我已经创建了一个工作区并使用工作区映射了一个文件夹。我能够在执行时查看工作区,工作文件夹详细信息&tbsp workspaces命令



此外,通过执行&bbsp

TF workfold -workspace:<我的工作区名称>


请让我知道我应该怎么做才能正确运行get命令&NBSP;


'p> -SrRem

解决方案

您好,


这是不幸的非特异性错误,我很难确切地说出问题所在。


一个想法是你可能有一个Git存储库而不是TFVC存储库?


那么你应该使用git命令而不是" TF得到"


如果不是那将是很好的,如果你能对你的设置一些细节


问候,


David



I am new to tf command and facing issues using it.  I am getting the following error when i executing  

tf get /recursive /all /noprompt   

from a unix server 

Error Message : 

An argument error occurred: Unable to determine the workspace. You may be able to correct this by running 'tf workspaces -collection:TeamProjectCollectionUrl'

I have already created a workspace and mapped a folder with the workspace. I am able to see the workspace, workfolder details when i executed  tf workspaces command

Also the mapping by executing 

tf workfold -workspace:<my workspace name>

please let me know what should i do to run the get command correctly. 

-SrRem

解决方案

Hi,

this is unfortunately an unspecific error and it is hard for me to exactly say what the problem is.

One idea would be that you maybe have a Git repository and not a TFVC repository?

Then you should use git commands instead of "tf get".

If not it would be good if you could some more details about your setup.

Regards,

David


这篇关于获得命令问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆