Created
March 12, 2012 06:31
-
-
Save memphys/2020309 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