git stash stores the different files away from everything else, returning your working directory to the last commit. Once you have done your rebase, run git stash pop. This will return those files to the working directory and allow you to work as before.
EDIT: A good link for learning all about the git stash command: Git Tools – Stashing and Cleaning