Auto stash with git

Tired of stashing + popping when you do a pull on a dirty workspace?
Let git do it for you automatically:

$ git config pull.rebase true
$ git config rebase.autoStash true

 

Also see: http://stackoverflow.com/questions/30208928/can-git-pull-automatically-stash-and-pop-pending-changes