You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Maikel Linke 14cc868f1a Move git-ftp.css to simplify `make html` 9 years ago
man Move git-ftp.css to simplify `make html` 9 years ago
tests Change version to unreleased 1.3 9 years ago
.gitignore Move git-ftp.css to simplify `make html` 9 years ago
.travis.yml apt-get update 10 years ago
AUTHORS Merge branch 'develop' into download 10 years ago
CHANGELOG.md Release candidate 1 for 1.2.0 9 years ago
INSTALL.md Description for Windows with both msysgit and cygwin installed 10 years ago
LICENSE Added license and readme 16 years ago
Makefile Makefiles: allow custom bindir and mandir 10 years ago
README.md readme: add another batch 10 years ago
git-ftp Change version to unreleased 1.3 9 years ago

README.md

Build Status GitHub version

README of git-ftp

Summary

Git powered FTP client written as shell script.

About

I use git-ftp for my script based projects, mostly PHP. Most of the low-cost web hosting companies do not provide SSH or git support, but only FTP.

That is why I needed an easy way to deploy my git tracked projects. Instead of transferring the whole project, I thought, why not only transfer the files that 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

Installing

See INSTALL file.

Usage

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

For interactive password prompt use -P:

$ git ftp push -u <user> -P ftp://host.example.com/public_html

Pushing for the first time:

$ git ftp init -u <user> -P ftp://host.example.com/public_html

See man page for more options, features and examples!

Limitations

  • Windows and OS X: I am very limited in testing on Windows and OS X. Thanks for helping me out fixing bugs on these platforms.
  • git-ftp as deployment tool: git-ftp was not designed as centralized deployment tool. While running git-ftp, you have to take care, no one pushes or touches this repo (e.g. no commits, no checkouts, no file modifications)!

Unit Tested

Core functionality is unit tested on Linux using shunit2. You can find the tests in tests/.

Contributions

Don't hesitate to use GitHub to improve this tool. Don't forget to add yourself to the AUTHORS file.