在XCode4中配置Git会显示“主机无法访问” [英] Configuring Git in XCode4 shows "Host is unreachable"
本文介绍了在XCode4中配置Git会显示“主机无法访问”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试在'Location'中输入路径时,它显示Host is unreachable。
尽管我可以通过Finder访问相同的路径。
有什么可能是错误的?
解决方案
好的。
在文件路径中,我输入为:
smb://计算机名/文件夹名/
$ b $但是相反,我们应该给出:
/卷/文件夹名称/
这样做给了主机可到达。
希望这可以帮助别人。
I am trying to configure Git repository using Xcode 4.
When I try to enter path in 'Location', it shows "Host is unreachable". eventhough I am able to access the same path thru Finder.
What could be wrong?
解决方案
Ok. I got my mistake.
In filepath I was entering as: smb://computername/foldername/
But instead, we should give as: /Volumes/foldername/
Doing it this way gave "Host reachable".
Hope this helps someone.
这篇关于在XCode4中配置Git会显示“主机无法访问”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文