Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
git hook to ensure requirements.txt and pip freeze are synced
# This hasn't been tested. I found it here:
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