- Git workflow for sudden high priority task
- git add -A
- git commit -am "must stop working to fix bug!"
- git checkout master
- git checkout -b "bug_branch"
- git stash save "must stop working to fix bug!"
- git checkout master
- .. do some stuff
- git commit -am 'foo'
- git checkout bug_fix
- git stash pop
- git checkout branch1
- git stash apply
- git checkout branch2
- git stash apply
- git checkout branch3
- git stash apply