2015-01-07 37 views
1

我是一個試圖通過egit與Github建立工作流程的新手。無法導入遠程git存儲庫

我有一個分叉庫,我試圖從eclipse/Import中使用CloneURI調用導入github repo。

URI:GIT中://github.com/xxxxx/pyfunds.git
主機:github.com
repopath:/xxxxxx/pyfunds.git
協議:git的端口:
空白(ⅰ 與9418一起嘗試)

驗證塊現在是不透明的,我不能進入我的github creds。接下來,我看到一條錯誤消息:

嘗試聯繫git://github.com/xxxxxx/pyfunds.git時發生錯誤,可能的原因是URL不正確或沒有網絡連接。

我該如何解決這個問題。我在防火牆後面,並根據公司的代理設置設置了http和https代理。

+0

你看過http://stackoverflow.com/questions/10054318/how-to-provide-username-and-password-when-run-git-clone-gitremote-git? – SolarBear

回答

1

git:// URL使用git-daemon本地傳輸,這是它自己的協議,而不是HTTP。所以它不會通過您配置的HTTP代理。改爲使用https:// URL到github。

+0

當我使用github url路徑https://github.com/xxx/888.git和我立即設置爲https的連接協議時,我在頂部看到「內部錯誤;請參閱Eclipse錯誤日誌」... – schuler

+0

@schuler那麼那裏有什麼錯誤? – ComputerDruid