Created
July 25, 2012 15:42
-
-
Save kvnn/3176838 to your computer and use it in GitHub Desktop.
git hook to ensure requirements.txt and pip freeze are synced
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
# This hasn't been tested. I found it here: http://news.ycombinator.com/item?id=4290203 | |
[hooks] | |
pretxncommit.pip = bash -c "diff -u requirements.txt <(source env/bin/activate && |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment