Gitflow
🔬Inspect a Stash Before ApplyingEasy+300 XP
Workshop
Scenario reference

Inspect a Stash Before Applying: the situation, step by step

The situation

You have 3 stashes from last month and forgot what's in each. Before applying, you want to see the diff.

`git stash show -p stash@{N}` prints the full patch.

Easy · 2 steps · +300 XP

What you will practice

This scenario walks through 2 steps, in order:

  1. 01List stashes
  2. 02Show the patch for stash 1
Reveal the step-by-step commands

Try the terminal first — you learn more by doing. When you want to check yourself, here is the command for each step.

  1. 1. List stashes
    git stash list
  2. 2. Show the patch for stash 1
    git stash show -p stash@{1}

Key takeaway

Always inspect before applying — stashes age badly.