-
Notifications
You must be signed in to change notification settings - Fork 1
sebcbi1/git-ftp
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
git-ftp - Upload by FTP the modified files from your last commit or from commit Dependencies: lftp Installation ------------ Copy the script insie you path . i.e. cp git-ftp /usr/local/bin Make it executable: chmod +x /usr/local/bin/git-ftp Configuration ------------- Inside you project path, setup your ftp credentials git config ftp.host 'url' git config ftp.user 'user' git config ftp.pass 'pass' optionally: git config ftp.basedir 'remote_base_dir' In addition, you may want to create some alias git config --global alias.ftp '!git-ftp' git config --global alias.deploy '!git push && git-ftp' Usage ----- git-ftp git ftp or git deploy git ftp be29a36bd4b2e8badf1e041b83173bc1cfc3abdf will upload all modified files after this commit till last commit
About
Upload by FTP the modified files from your last commit
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published