by Davo Smith.
Thanks for the 'git stash' reminder Adam - I use it all the time as a temporary measure when I need to change something in a repo when I'm in the middle of writing code, but hadn't thought of using it to recover when there's unwanted changes around.