简体   繁体   English

无法从TFS在Xcode 8.2.1中添加存储库

[英]Not able to add repository in Xcode 8.2.1 from TFS

In my repository there are two spaces . 在我的存储库中有两个空格。 So I am entering %20 instead of space while adding repository. 因此,我在添加存储库时输入%20而不是空间。 But when I try to add repository with SSH, %20 automatically replace with space . 但是,当我尝试使用SSH添加存储库时,%20自动替换为space。 So I get "Repository Not Found" error. 所以我收到“找不到存储库”错误。 Help with it. 帮助它。

Please double check if you are using the correct url for SSH format, you could find the info in 请仔细检查您是否为SSH格式使用了正确的网址,您可以在中找到相关信息

TFS web portal - Your Repo - Clone ( top right corner ) TFS网站门户-您的仓库-克隆右上角

在此处输入图片说明

Need to use ssh:// and port 22 not 8080, the complete URL for a repository with space should be something as below: 需要使用ssh://和端口22而不是8080,带空间的存储库的完整URL应该如下所示:

ssh://yourtfsserver:22/GITAgile/_git/test%20space%20repo

Update 更新

After enter the url with %20, it will automatically replace %20 with space in the Enter repository information page. 使用%20输入URL后,它将在输入存储库信息页面中自动将%20替换为空格。

在此处输入图片说明

Even though directly using with the space in http url, you still will get the correct repo from server. 即使直接使用http网址中的空格,您仍将从服务器获取正确的存储库。 在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM