Marcus Leon Marcus Leon - 3 months ago 15
Git Question

View git stash using visual tool

We configure our diff visual tool using

diff.tool=xxx
and then running
git difftool
to see a visual diff. You can see a stash using
git stash show
- but how can you see the stash visually like you can with diff?

Answer

Just use the stash's name. For example, the following works for me:

git diff branch stash@{0}