Skip to content

Instantly share code, notes, and snippets.

@wolfhechel
Created December 5, 2014 10:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save wolfhechel/696e2af729af121f6290 to your computer and use it in GitHub Desktop.
Save wolfhechel/696e2af729af121f6290 to your computer and use it in GitHub Desktop.
Auto add Django migrations before commit
find . -type d -name migrations -not -exec git check-ignore -q {} \; -exec git add {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment