inoshadi / git-sftp-push

Generating modified file list using git diff --name-only in order to put those file(s) using sftp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

git-sftp-push

Generating modified file list using git diff --name-only in order to put those file(s) using sftp

  • set as executable
chmod +x sftpPush.sh
chmod +x deploy.sh
  • go to your project directory
  • execute deploy.sh ie. your deploy.sh file's is in your home directory
~/deploy.sh usr@domain.xxx:/path/to/target/s

About

Generating modified file list using git diff --name-only in order to put those file(s) using sftp


Languages

Language:Shell 100.0%