Created
March 14, 2015 21:47
-
-
Save freshjones/486fe4794c19831a65e3 to your computer and use it in GitHub Desktop.
Git Setup for website 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/sh | |
ENVPATH=/var/www/sites/example.com | |
git --work-tree=$ENVPATH/public/ checkout -f | |
rm $ENVPATH/public/build.* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment