Skip to content

Instantly share code, notes, and snippets.

@lramosduarte
Created February 24, 2018 19:55
Show Gist options
  • Save lramosduarte/3f1a2c259edb793606b5d1535ea55f12 to your computer and use it in GitHub Desktop.
Save lramosduarte/3f1a2c259edb793606b5d1535ea55f12 to your computer and use it in GitHub Desktop.
Commands bash and git usefull

Remove migrations django not commiteds

rm **/migrations/00** && git checkout $(git ls-files -m | grep migrations/00)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment