简体   繁体   English

在 XCode4 中配置 Git 显示“主机无法访问”

[英]Configuring Git in XCode4 shows “Host is unreachable”

I am trying to configure Git repository using Xcode 4.我正在尝试使用 Xcode 4 配置 Git 存储库。

When I try to enter path in 'Location', it shows "Host is unreachable".当我尝试在“位置”中输入路径时,它显示“主机无法访问”。 eventhough I am able to access the same path thru Finder.尽管我可以通过 Finder 访问相同的路径。

What could be wrong?有什么问题?

Ok.好的。 I got my mistake.我弄错了。

In filepath I was entering as: smb://computername/foldername/在我输入的文件路径中: smb://computername/foldername/

But instead, we should give as: /Volumes/foldername/但相反,我们应该给出:/Volumes/foldername/

Doing it this way gave "Host reachable".这样做给了“主机可达”。

Hope this helps someone.希望这可以帮助某人。

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

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