Git diff against a stash

The Solution to Git diff against a stash is


See the most recent stash:

git stash show -p

See an arbitrary stash:

git stash show -p [email protected]{1}

From the git stash manpages:

By default, the command shows the diffstat, but it will accept any format known to git diff (e.g., git stash show -p [email protected]{1} to view the second most recent stash in patch form).

~ Answered on 2011-10-06 16:50:29


Most Viewed Questions: