git - 如何使用 ftp 进行 git push?

标签 git ftp git-push

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

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

最佳答案

git-ftp脚本正是这样做的:

git-ftp by René Moser is a simple shell script for doing FTP the Git way. Use git-ftp.sh to upload only the Git tracked files to a FTP server, which have changed since the last upload. This saves time and bandwith. Even if you play with different branches, git-ftp.sh knows which files are different. No ordinary FTP client can do that.

关于git - 如何使用 ftp 进行 git push?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5886363/

相关文章:

git - 为什么 Github Pull 请求的基本分支文件(左侧)显示的内容与 HEAD 版本不同?

ftp - 我可以使用浏览器和 Cyber​​duck 进行 FTP,但不能使用 Filezilla

python - 使用python socket搭建ftp服务器

git - 是否可以为 git 存储库设置两个远程 url?

git - 将分支后退一步以留下无分支标记的提交

Git pull - 无法提交 merge 消息

git - rebase Git merge 提交

ios - 如何在 iOS 中录制后将视频上传到 FTP 服务器?

github - 如何将更改从 fork 项目推送到原始项目?

egit - 项目推送到 github 将所有项目工作到工作区