Created
November 19, 2017 20:13
-
-
Save rodrigo-brito/23776b3a23d4c6a25dfea6699000b019 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
ROOT_DIR=/var/www/project | |
GIT_WORK_TREE=$ROOT_DIR git checkout -f | |
cd $ROOT_DIR | |
./post-receive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment