Which Git GUI can show list of files inside stash?

10,566

Solution 1

gitk shows the content of your stash:

$ gitk --all&

Since both the index and the working tree are saved in stash, you see both, and the diff looks a bit different than what you might be used to.


$ git stash show -p

shows the stash content on the command line. If you have several stashes, you can specify the stash name, e.g. stash@{3}.

Solution 2

I tried several GUIs without success, though I may have missed some options:

  • gitk (check my comment in the other answer)
  • git gui
  • giggle
  • gitkraken

The ones which worked fine:

  • gitg (show the stash by default at the top of other commits)
  • tig with "tig stash" (text UI but very handy)

Solution 3

Git Cola has a dedicated stash viewer (Alt+Shift+S by default).

Share:
10,566

Related videos on Youtube

Jitendra Vyas
Author by

Jitendra Vyas

Hi, I am Jitendra a front-end developer from India specializing in web standards, accessibility, and usability based development.

Updated on September 18, 2022

Comments