Guest User

Untitled

a guest
Aug 16th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #You need to add a .git-ftp-ignore file with nested modules
  2. #Example:
  3. #moodle/mod/hvp/.git-ftp-ignore:
  4. # editor
  5. # library
  6. # reporting
  7. FTP_USER=john
  8. FTP_PASSWORD=doe
  9. FTP_HOST=tatooine.com
  10. FTP_PATH=var/www
  11. 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