-
-
Save ghuntley/c8d65caa0bdd73165441648def9fcfc9 to your computer and use it in GitHub Desktop.
Script used for demos and live coding
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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