Git Stash, Worktree, and Clean Cheat Sheet/Show full patch for a stash

Inspect the actual diff stored in a stash entry.

Section: Stash Workflows

Show full patch for a stash

bash
bash
git stash show -p stash@{0}
Explanation

Useful before applying or branching from an older stash.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Stash Workflows
List stashes with diffstat
See stash entries and a compact summary of their changes.
OpenIn sheetbashsame section
Create a named stash
Save tracked changes with a message.
OpenIn sheetbashsame section
Stash unstaged changes only
Keep staged changes in the index and stash the rest.
OpenIn sheetbashsame section
Stash only specific paths
Temporarily save changes from selected files.
OpenIn sheetbashsame section
Create a branch from a stash
Check out a new branch and apply a stash there.
OpenIn sheetbashsame section
List worktrees
Show all linked working trees for the repository.
OpenIn sheetbash2 tag match