Skip to content

Instantly share code, notes, and snippets.

@wata
Last active December 27, 2015 08:58
Show Gist options
  • Save wata/7299853 to your computer and use it in GitHub Desktop.
Save wata/7299853 to your computer and use it in GitHub Desktop.

1. Storing the ftpdata to path/to/GIT_DIR

[master]
username=
password=
hostname=
remotepath=
gitftpignore=.gitftpignore

2. Download git-ftp.py as post-commit

$ wget https://raw.github.com/ezyang/git-ftp/master/git-ftp.py -O path/to/GIT_HOOKS_DIR/post-commit && chmod +x post-commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment