Reputation: 25133
Some times ago I stashed files. Now I stage some.
Is there a way to compare those versions of files?
Upvotes: 2
Views: 69
Reputation: 26074
You can use:
git diff --cached stash@{n} -- file
where n
corresponds to the stash number of the stash you wish to diff against.
Upvotes: 5