Git投入生产(FTP) [英] Git Push into Production (FTP)

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

问题描述

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

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

Some tools recently added to the Git wiki:


由RenéMoser提供的 git-ftp 是一个简单的
shell脚本为了做FTP Git
的方式。使用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 作者:Edward Z 。杨是一个
的简单脚本,用python编写,用于
通过FTP上传文件到Git仓库
,只传输新文件
并删除旧文件。

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天全站免登陆