fugaというファイルをある程度変更してきたところで、自分がdevelopブランチで作業していることに気づく。
$ git checkout -b hoge
で、hogeブランチに移動、
$ git diff
modified: fuga
確認できたので、
$ git checkout develop
$ git checkout fuga
developブランチのfugaファイルをもとに戻す。
ふぃ〜安心だぁ。
$ git checkout fuga
$ git status
nothing to commit, working tree clean
無事死ねました。