Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

inoshadi/git-sftp-push

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-sftp-push

Generates staged file list using git diff --name-only to put those files 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 [email protected]:/path/to/target/s

About

Generates staged file list using git diff --name-only to put those files using sftp

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages