linux - 使用 Team Explorer Everywhere 命令行 Linux 在不下载所有项目的情况下在 TFS 中创建一个新的高级文件夹

标签 linux git tfs team-explorer-everywhere git-tf

我想将包含新项目的新文件夹添加到 TFS。我在 Linux 上使用“Team Explorer Everywhere 2013”。

文件夹结构如下

$Main\HighLevelFolder\Project1
$Main\HighLevelFolder\Project2
...
$Main\HighLevelFolder\ProjectN

我想添加一个新文件夹,例如$Main\HighLevelFolder\ProjectX 以最有效的方式。

我可以 check out 整个 $Main\HighLevelFolder 并在其中创建一个新的项目文件夹,然后再将其检入。但是有相当多的项目。我宁愿在服务器上创建文件夹,然后只 checkout 该文件夹。

(我实际上使用 Git-TF 对 TFS 服务器进行 checkout / checkin 。)

https://stackoverflow.com/a/641987/1336249给我一个提示:

.. map the server-side folder to a workspace on your local machine ...

但不清楚如何在 TEE 命令行下执行此操作。有什么想法吗?

最佳答案

Git-TF 不需要已经在 TFS 中创建文件夹。

git tf configure http://tfs:8080/tfs/DefaultCollection $/Path/To/{folder}

git tf checkin --deep

并且创建了新的项目文件夹

关于linux - 使用 Team Explorer Everywhere 命令行 Linux 在不下载所有项目的情况下在 TFS 中创建一个新的高级文件夹,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23344061/

相关文章:

linux - Amazon 的 Elastic IP 是如何运作的?如果我想自己创建一个类似的系统,我必须做什么?

c++ - 在 32 位 Linux 上编译代码时出现未声明错误 'gtk_window_set_keep_above'

git - 执行 git pull 后找不到我的提交

git - 将 git repo 从一台机器克隆到另一台机器

git key_from_blob 和 key_read 错误

visual-studio-2008 - TFS 工作区

azure - Azure 上的 Team Foundation Service 和 TFS 的缺点

c++ - g++ 无法链接 OpenAL 库

linux - 如果需要重新引导计算机,则使用ssh远程确定

TFS 2010 清除 SystemAssignedTo 过渡中