Git 推送到生产环境 (FTP) [英] Git Push into Production (FTP)

查看:27
本文介绍了Git 推送到生产环境 (FTP)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有一种简单的方法可以将 GIT 存储库推送到生产环境(在 FTP 服务器上)?谢谢

I would like to know if there is an easy way to push a GIT repository into production (on a FTP server) ? Thanks

推荐答案

最近添加到 Git wiki:

git-ftp by René Moser 是一个简单的用于对 Git 进行 FTP 的 shell 脚本大大地.使用 git-ftp.sh 只上传Git 跟踪文件到 FTP 服务器,自上次以来发生了变化上传.这节省了时间和带宽.即使你玩不同的分支,git-ftp.sh 知道哪些文件是不同的.没有普通的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 by Edward Z. Yang 是用python编写的简单脚本在 Git 存储库中上传文件通过 FTP,只传输新文件并删除旧文件.

git-ftp by Edward Z. Yang is a simple script written in python for uploading files in a Git repository via FTP, only transferring new files and removing old files.

这篇关于Git 推送到生产环境 (FTP)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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