Created
December 30, 2013 21:08
-
-
Save abondis/8188168 to your computer and use it in GitHub Desktop.
checkout non bare repo
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
[receive] | |
denyCurrentBranch = warn |
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 | |
cd .. | |
GIT_DIR='.git' | |
umask 002 && git reset --hard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment