LoginSignup
173
146

More than 5 years have passed since last update.

git stash した内容をさっくり確認したい

Last updated at Posted at 2012-12-19

git stash list でなにがスタックにあるか確認。

git stash list
stash@{0}: WIP on hogehoge: cb48239 ....
stash@{1}: WIP on (no branch): f5eb07d ....
stash@{2}: WIP on (no branch): aaa7ee1 ....
stash@{3}: WIP on master: 9d02691 ....
stash@{4}: WIP on master: 9d02691 ....

この stash@{N} はオブジェクトの名前になるので参照可能。 diff で目視確認。

git diff HEAD..stash@{0}

もっと詳しく

tig stash@{2}
173
146
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
173
146