本文介绍了如何使用 ftp 进行 git 推送?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想上传(仅使用 ftp)到我的服务器,只有更改.我在本地有一个可用的 git 存储库.但我想不出任何使用 ftp 推送的方法.

I want to upload (using only ftp) to my server only changes. I have a working git repository in my local. But I cant figure out any way to push using ftp.

我可以使用 git push 发送其他主机,因为它允许 ssh,但这个主机只允许 ftp.

I can use git push to send other hosting, beacuse it allow ssh, but this hosting only allows ftp.

推荐答案

您应该能够使用 FTP 存储库来推送

You should be able to push to a FTP repository using

git push ftp://host.net/path/to/repo.git/

这篇关于如何使用 ftp 进行 git 推送?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-23 14:21
查看更多