小编Jos*_*eph的帖子

Git克隆在ftps上

好的.所以我的网站托管在InmotionHosting上.这是一个共享服务器,所以ssh已经出局了.我一直在通过FTPS访问它.我在工作中使用git,所以我很想开始在我的个人网站上使用git.只是问题,我不确定如何使用git连接到我当前的站点.我知道它与ftps兼容,因为它在手册中,但我收到错误:

"无法连接到[我的网站]""无法解析主机""致命:HTTP请求失败""错误访问[我的网站]/info/refs"

我试过了:

git clone [username]:[pass] @ [site] [local repository]

git clone [username] @ [site] [本地存储库]

git clone [username] @ [site]:[来自cpanel的端口] [本地存储库]

git clone [username]%40 [site] @ [site] [local repository]

什么都行不通.有什么我想念的吗?我需要在服务器上安装一些东西吗?任何帮助表示赞赏.谢谢!

git https ftps

5
推荐指数
1
解决办法
4512
查看次数

标签 统计

ftps ×1

git ×1

https ×1