We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89f9cd8 commit 4ee4ba0Copy full SHA for 4ee4ba0
1 file changed
local/etc/uceap.d/_sftp_code.sh
@@ -4,5 +4,5 @@ function _sftp_code() {
4
SFTP_HOST=`terminus connection:info --field=sftp_host`
5
6
terminus connection:set sftp -y
7
- rsync -e "ssh -p $SFTP_PORT -o StrictHostKeyChecking=no" -rv --checksum --delete --exclude=web/sites/default/files ./ $SFTP_USER@$SFTP_HOST:code/
8
-}
+ rsync -e "ssh -p $SFTP_PORT -o StrictHostKeyChecking=no" -rv --checksum --delete --exclude=.git --exclude=web/sites/default/files ./ $SFTP_USER@$SFTP_HOST:code/
+}
0 commit comments