Skip to content

sos4nt/git-ftp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README of git-ftp
=================

(c) René Moser, <mail@renemoser.net>, 2010
This application is licenced under GNU General Public License, Version 3.0
http://www.gnu.org/licenses/gpl-3.0-standalone.html


Summary
-------
Use git-ftp to upload only the files to a FTP server, which have changed
since the last upload. This saves time and bandwith.


About
-----
I use git-ftp for my script based projects, mostly PHP. Most of the low-cost
web hoster does not provide SSH nor git support, only FTP.

That is why I needed a easy way to deploy my git tracked projects. Instead to
transfer always the whole project, I thought, why not only transfer the files
which changed since the last time, git can tell me those files.

Even if you are playing with different branches, git-ftp knows which files
are different. No ordinary FTP client can do that.


Known Issues
------------
 - Git Submodules are currently not supported. I am working on it.
 - See http://github.com/resmo/git-ftp/issues for open issues

Installing
----------
See INSTALL file.


Usage
-----
    $ cd my_git_tracked_project
    $ git ftp push ftp://host.example.com/public_html --user <user> -p <password>

For interactive password prompt use:
    $ git ftp push ftp://host.example.com/public_html --user <user> -p

For more options see:
    $ git ftp help


Contributions
-------------
Don't hesitate to use GitHub to improve this tool.

About

A shell script (no PHP!) for pushing git tracked changed files to a remote host by FTP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%