How to see the contents of stashed changes in Git

Estimated 1 minute read · Monday, 24 January 2022
Copy
git stash show -p stash@{0}

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

Copy
git stash list
We use essential cookies to make our site work. With your consent, we may also use non-essential cookies to improve user experience and analyze website traffic. By clicking 'Accept', you agree to our website's cookie use as described in our Privacy Policy.