A shell script for pushing git tracked changed files to a remote host by FTP.
Shell
Pull request Compare This branch is 10 commits ahead, 590 commits behind git-ftp:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
AUTHORS
LICENSE
README.md
git-ftp-minimal.sh

README.md

README of git-ftp-minimal

KISS version of git-ftp (original code: https://github.com/resmo/git-ftp)

Summary

differential update via FTP based on git checking only if files are not modified on the server (preserving others work).

Usage

1) Create a file git-ftp-minimal.config:

REMOTE_USER="USER"
REMOTE_PASSWD="PASSWORD"

URL="ftp://FTP_SERVER.XY"

# ignore these files:
filter(){ grep -v "gitignore"; }

2) cp git-ftp-minimal.sh into your project directory

sync up:

git-ftp-minimal.sh --sync