ryan-williams/git-helpers — pull request #51 by ryan-williams (2014-12-15 22:59:41+00:00)
Title: git squash fixes

* fix BSD `mktemp` incompatibility
* also add some more robust features:
* stash changes before starting, restore them on exit
* if the commit step fails, `reset --hard` to the ref that we started at

fixes #50