調べりゃすぐ出て来ますが。
Situation
localに取っておきたい一時的な変更があって、 でもそのせいでgit pullしてupdate出来ない、 git checkout ...してbranchを変えられない時。
Operation
git stash list -pで確認git stashで退避- localの変更が無くなるので、この状態で
git checkou ...なりgit pull ...なり git stash apply stash@{0}で直前のstashをapplygit stash dtrop stash@{0}で直前のstashをdrop←すぐ消さないと、後々残って何の変更なのかわからなくなる