2
我在OS X服務器上創建了一個名爲myTestRepo的存儲庫。對於HTTPS訪問,我允許登錄用戶讀取和寫入。無法添加託管在OS X服務器上的Git存儲庫
當我嘗試在Xcode中添加此存儲庫時,出現錯誤。 在倉庫地址,如果我進入
ssh://iMac/git/myTestRepo.git
我收到以下錯誤
Could not read from remote repository.
如果我進入
https://iMac/git/myTestRepo.git
我收到以下錯誤
fatal: unable to access 'https://iMac/git/myTestRepo.git/': Could not resolve host:iMac
什麼我是嗎?錯了嗎?
我也嘗試用服務器名稱替換iMac。同樣的結果。 – 2015-04-03 20:04:08
指定用戶名(可能是'git'),同時給出包括git用戶主路徑(可能是'/ Users/git')的回購完整路徑:'ssh:// git @iMac/Users/git/myTestRepo.git' – baf 2015-04-07 15:21:12
謝謝但那不起作用。 – 2015-04-07 17:38:51