Created
February 19, 2012 03:25
-
-
Save codekipple/1861809 to your computer and use it in GitHub Desktop.
post reveive hook for git
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 | |
# Update the working tree after changes have been pushed here | |
cd .. | |
env -i git reset --hard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment