Skip to content

Instantly share code, notes, and snippets.

@zeuxisoo
Created May 30, 2011 03:13
Show Gist options
  • Save zeuxisoo/998404 to your computer and use it in GitHub Desktop.
Save zeuxisoo/998404 to your computer and use it in GitHub Desktop.
git-ftp.sh install and usage note

Installation

cd ~/Desktop/workspace/git

git clone http://github.com/resmo/git-ftp.git

sudo make install

View help

git ftp help

Init first submit

git ftp init -u -p - ftp://dev.localhost/path/to/project

Continue submit

git ftp push -u -p - ftp://dev.localhost/path/to/project

Make a simple test on first submit & continue submit

git ftp init -u -p --dry-run ftp://dev.localhost/path/to/project

git ftp push -u -p --dry-run ftp://dev.localhost/path/to/project

*Just show the log. Not action

Make a default settings

git config git-ftp.user

git config git-ftp.url ftp://dev.localhost/path/to/project

git config git-ftp.password

Submit again

git ftp push

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment