Created
October 15, 2014 16:12
-
-
Save richardbporter/485753078e91dcf871f6 to your computer and use it in GitHub Desktop.
git post-receive checkout
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
cd /path/to/work/tree | |
git --git-dir=/path/to/git/repo --work-tree=/path/to/work/tree checkout -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment