git-steash.md 間違って別のブランチで実装を始めちゃった時にgit stashで別ブランチに編集中のソースを移動する git Git - Stashingの手抜き翻訳かつ、勝手に構成や説明の流れを変えたものです。 間違ってmasterブランチなどで実装を始めたのに途中で気づいて、開発用のdevelopmentブランチにその書きかけのソースをコミットすることなく持って行きたいときは、git stashを使う。 書きかけだとgit statusとしたときに色々でるはず。 $ git status # On branch master # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # modified: index.html # # Changes not staged for c
![間違って別のブランチで実装を始めちゃった時にgit stashで別ブランチに編集中のソースを移動する · GitHub](https://cdn-ak-scissors.b.st-hatena.com/image/square/3bee82c7f10f49ac6c52299be9b4859b1ed55b29/height=288;version=1;width=512/https%3A%2F%2Fgithub.githubassets.com%2Fimages%2Fmodules%2Fgists%2Fgist-og-image.png)