-
-
Save carld/aa9c9bbc834b9ec631c83c65ae417b46 to your computer and use it in GitHub Desktop.
Easy deployment with git and ssh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git archive --format=tar origin/master | gzip -9c | ssh [email protected] "cd /var/www; tar xvzf -" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment