[英]cannot connect to git repository at remote server on netbeans
我在遠程服務器上創建了一個git repo。
我想通過netbeans訪問該回購協議。 我跟着
team->git->clone
這是錯誤的屏幕截圖
這是git repo的位置。
http://mobimage.co/index.php?i=b93e28
這是回購地址: http : //188.226.161.12/repo.git/
如果要在https
上連接git,則必須在C:Users\\username\\.gitconfig
添加一些配置數據
sslVerify = false[http]
通過命令行
git config --global http.sslVerify false
您是否將遠程服務器設置為支持http?
如果不是,則只需創建ssh密鑰ssh-keygen -t rsa -C "email"
然后將私鑰上載到遠程服務器。
現在,您將可以通過ssh克隆它。
如果您不想添加ssh密鑰,請使用https://
協議,它將為tpassword提升您的身份。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.