Skip to content

Instantly share code, notes, and snippets.

@knorthfield
Created April 11, 2012 22:25
Show Gist options
  • Save knorthfield/2363171 to your computer and use it in GitHub Desktop.
Save knorthfield/2363171 to your computer and use it in GitHub Desktop.
rsync deployment
rsync -arvuz --delete --include .htaccess --exclude .git --exclude .gitignore --exclude deploy ~/beta.example.com/ ~/example.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment