Stash before pull when upgrading

Avoid this annoying message when upgrading :
« Type Y to update oh-my-zsh: Y
Upgrading Oh My Zsh
Cannot pull with rebase: You have unstaged changes.
Please commit or stash them.
There was an error updating. Try again later? »