diff --git a/SSH/deployFromGit.ssh b/SSH/deployFromGit.ssh new file mode 100755 index 0000000..14c32c2 --- /dev/null +++ b/SSH/deployFromGit.ssh @@ -0,0 +1,2 @@ +#!/bin/sh +ssh -A -p 2222 username@MY_IP_ADDRESS -t "cd myApplicationFolder; git fetch --all; git checkout --force production; git pull origin production --force"