Skip to content

Instantly share code, notes, and snippets.

@agc93
Created October 9, 2017 00:22
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 agc93/3373ed41a3b9e21c8dd679414f2caf50 to your computer and use it in GitHub Desktop.
Save agc93/3373ed41a3b9e21c8dd679414f2caf50 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