How to see the contents of stashed changes in Git
Clarice Bouwer

Clarice Bouwer @cbillowes

About: Curious programmer sharing byte-sized knowledge on dev.to. Passionate about Git, GCP, TypeScript, Next.js, and DevTools. Enjoys collaborating with others and leading by example.

Location:
Mauritius
Joined:
May 30, 2018

How to see the contents of stashed changes in Git

Publish Date: Jan 24 '22
0 0
git stash show -p stash@{0}
Enter fullscreen mode Exit fullscreen mode

Where 0 is the indexed location of the item in the stash. Find all items in the stash using:

git stash list
Enter fullscreen mode Exit fullscreen mode

Comments 0 total

    Add comment