Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
144
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

posted at

updated at

Organization

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

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}
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
144
Help us understand the problem. What are the problem?