Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
请帮忙!我整个星期都在用头撞墙!当我尝试克隆名称中带有长破折号的存储库时,我收到一个未找到存储库的错误。我已经尝试了各种方法来逃避它,但没有运气。
这是我的代码:
git tf clone -b --branches "<servername>" "$/Tech Consulting – Conversions/Infinity Conversion Tools/Conversion Engine"
问这个问题七年后,我遇到了同样的问题。我在使用 git bash 的 Windows 10 上。我使用 Windows 表情符号键盘(通过 Windows 键加句点访问)在命令行上输入中等长度的破折号,这使我能够匹配我试图克隆的 TFS 分支的名称。