0
我試圖從並以我個人gitlab服務器克隆我的倉庫,但是這是我得到無法複製我的倉庫在我自己的Git服務器
fatal: unable to access 'http://git.domain.com/user/repo.git/': Could not resolve host: git.domain.com
但我的混帳服務器之外的克隆作品。
任何想法爲什麼我的服務器無法解析主機,但其他機器可以?
我試圖從並以我個人gitlab服務器克隆我的倉庫,但是這是我得到無法複製我的倉庫在我自己的Git服務器
fatal: unable to access 'http://git.domain.com/user/repo.git/': Could not resolve host: git.domain.com
但我的混帳服務器之外的克隆作品。
任何想法爲什麼我的服務器無法解析主機,但其他機器可以?
加入
37.xx.xxx.xxx git.domain.com
到
/etc/hosts
文件來解決我的問題。
嘗試刪除最後一個'/' –
@SamvelPetrosov這是我如何克隆它'git clone http://git.domain.com/user/repo.git。'但後來我得到錯誤 –
是有效的回購地址?我試過了,它說'找不到' –