Skip to content

Instantly share code, notes, and snippets.

@abondis
Created December 30, 2013 21:08
Show Gist options
  • Save abondis/8188168 to your computer and use it in GitHub Desktop.
Save abondis/8188168 to your computer and use it in GitHub Desktop.
checkout non bare repo
[receive]
denyCurrentBranch = warn
#!/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