简体   繁体   English

将更改从XCode 7.x / 8.x推送到TFS - Git存储库时遇到问题

[英]Facing issue while pushing changes from XCode 7.x / 8.x to TFS - Git repository

After Xcode has update to version 7.x / 8.x, I have a problem of pushing the changes from the local GIT to the remote TFS - GIT repository. 在Xcode更新到版本7.x / 8.x之后,我遇到了将更改从本地GIT推送到远程TFS-GIT存储库的问题。

While pushing, I am getting the waring that The push operation failed because no matching remote could be found. 在推送的过程中,由于找不到匹配的遥控器,因此推送操作失败了。 Make sure there's a remote entry in your Git configuration for the remote URL ' https://abc.visualstudio.com/DefaultCollection/Project%20IOS/_git/Project-IOS '. 确保远程URL“ https://abc.visualstudio.com/DefaultCollection/Project%20IOS/_git/Project-IOS ”的Git配置中有一个远程条目。

But, I am able to pull the changes from the same remote TFS - GIT repository 但是,我能够从同一个远程TFS-GIT存储库中提取更改

Unlike Xcode 7.x / 8.x, I am able to push the changes from Xcode 6.x and also able to push using Terminal. 与Xcode 7.x / 8.x不同,我能够从Xcode 6.x推送更改,并且能够使用终端进行推送。

Can somebody help me how to fix this issue? 有人可以帮我解决这个问题吗? Thanks in advance 提前致谢

This is caused by the blankspace "%20" in the repository URL. 这是由存储库URL中的空白“%20”引起的。 There seems to be some issue with XCode 7/8 that it cannot handle the white space in the repository URL. XCode 7/8似乎存在一些问题,它无法处理存储库URL中的空白区域。 If you push to a remote URL without blankspace in it, it can push successfully. 如果您推送到没有空白空间的远程URL,它可以成功推送。 I didn't find any solution for this issue either. 我也没有找到任何解决方案。 As a workaround, I push the changes from terminal via Git push command. 作为一种解决方法,我通过Git push命令从终端推送更改。

You can also find the same issue here: OS X 10.11 / Xcode 7.0.1 git push fails silently . 你也可以在这里找到同样的问题: OS X 10.11 / Xcode 7.0.1 git push无声地失败

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

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