title: git: How to create a branch of my current work, but stay on my original branch
body: <p>I'm on a branch (let's say master), and I have some changes in my working dir.  I get stuff working, but needing a lot of cleanup - so I'd like to save my current working dir to a branch just in case I need to go back to it.  I'll definitely be deleting the branch later.</p>
  
  <p>In addition, I want to continue working on master EXACTLY where I was.</p>
  
  <p>Right now I do:</p>
  
  <pre><code># Save to topic branch
  git checkout -b working-stuff
  git commit -a -m "work in progress"
  
  # go back to master and continue with the state is was in before
  git checkout master
  git checkout -- .
  git reset
  </code></pre>
  
  <p>Later on, I'll delete the topic branch.</p>
  
  <p>So, the above does exactly what I want, but its a bit verbose.  Is there a simpler way to do this (besides just scripting it)?</p>