git stash branch feature-xyz stash@{0}

Category: Git - Core

git stash branch feature-xyz stash@{0}

Create a branch from a stash entry

Creates a new branch starting from the state captured in a stash entry — useful for resuming stashed work in a fresh context.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.