Created
September 16, 2011 02:54
-
-
Save bltavares/1221081 to your computer and use it in GitHub Desktop.
Git + RSync deployment
This file contains hidden or 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
#!/bin/bash | |
cd /repo/path | |
git checkout deploy | |
git merge master | |
rsync --exclude=psd/ --exclude=layout/ -r . user@host |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment