#author("2019-10-17T18:37:42+09:00","default:ryuichi","ryuichi")
#author("2019-10-17T18:39:09+09:00","default:ryuichi","ryuichi")
* git stash [#x3f97f22]

** 隠した変更を復元する [#u689da29]
 git stash apply
 git stash apply stash@{2} #どの変更か指定する。指定しなければ直近の変更が適用される。
#lsx

*** 隠した変更を復元し、削除する [#vba85b7d]
 git stash pop

- git applyとgit dropを同時に行う。

** 参考 [#td067135]
- https://git-scm.com/book/ja/v2/Git-%E3%81%AE%E3%81%95%E3%81%BE%E3%81%96%E3%81%BE%E3%81%AA%E3%83%84%E3%83%BC%E3%83%AB-%E4%BD%9C%E6%A5%AD%E3%81%AE%E9%9A%A0%E3%81%97%E3%81%8B%E3%81%9F%E3%81%A8%E6%B6%88%E3%81%97%E3%81%8B%E3%81%9F#_git_stashing
- https://git-scm.com/docs/git-stash
- http://www.backlog.jp/git-guide/reference/stash.html

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS