Skip to content

Instantly share code, notes, and snippets.

@ghuntley
Forked from agc93/demo.sh
Created October 9, 2017 01:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ghuntley/c8d65caa0bdd73165441648def9fcfc9 to your computer and use it in GitHub Desktop.
Save ghuntley/c8d65caa0bdd73165441648def9fcfc9 to your computer and use it in GitHub Desktop.
Script used for demos and live coding
# This is pretty trimmed down, but is the basic idea, at least
docker ps -a -q -f status=exited | xargs -r docker rm
git reset --hard
git checkout stage-$1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment