Created
October 14, 2012 15:27
-
-
Save foiseworth/3888913 to your computer and use it in GitHub Desktop.
Webfaction post receive hook to deploy website
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
| GIT_WORK_TREE=/home/ACCOUNT_NAME/webapps/APP_NAME git checkout -f | |
| GIT_WORK_TREE=/home/ACCOUNT_NAME/webapps/APP_NAME git reset --hard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment