Skip to content

Instantly share code, notes, and snippets.

@szmeku
Created February 25, 2014 01:03
Show Gist options
  • Save szmeku/9200600 to your computer and use it in GitHub Desktop.
Save szmeku/9200600 to your computer and use it in GitHub Desktop.
git hook script ( ~.git/hooks/post-receive )
#!/bin/sh
git checkout -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment