📦 Stashing

How to delete a stash in Git

Remove one or all stashes from the stash list.

Drop the most recent stash
git stash drop

Permanently removes the most recent stash.

Drop a specific stash
git stash drop stash@{1}

Removes a specific stash by index.

Clear all stashes
git stash clear

Permanently removes all stashes.

Deletes all stashed changes permanently.

← Back to Git Reference