Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #You need to add a .git-ftp-ignore file with nested modules
- #Example:
- #moodle/mod/hvp/.git-ftp-ignore:
- # editor
- # library
- # reporting
- FTP_USER=john
- FTP_PASSWORD=doe
- FTP_HOST=tatooine.com
- FTP_PATH=var/www
- root=$(pwd) git submodule foreach --recursive 'git ftp init -u $FTP_USER -p $FTP_PASSWORD ftp://$FTP_HOST/$FTP_PATH/$(realpath --relative-to=$root $(pwd))'
Add Comment
Please, Sign In to add comment