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