如何使用ftp git推送? [英] How to git push using ftp?

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

问题描述

我想上传(仅使用ftp)到我的服务器只有变化。我在本地有一个可用的git仓库。但我不能找出任何推动使用ftp的方式。

我可以使用git push来发送其他主机,因为它允许ssh,但是这个主机只允许ftp。你应该可以使用

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


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.

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

解决方案

You should be able to push to a FTP repository using

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

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆