How to list stashes in Git

Listing stashes in Git displays all saved stash entries with their descriptions and reference indices for easy identification and management. With over 25 years of experience in software development and as the creator of CoreUI, I’ve used stash listing extensively when managing multiple work streams and experimental changes simultaneously. From my expertise, the most useful approach is using git stash list to view all stashes with their reference numbers and optional descriptions. This command provides essential visibility into temporarily saved work for efficient stash management and retrieval.

Use git stash list to display all saved stash entries with their reference indices and descriptions.

git stash list

Here git stash list shows all stashes in reverse chronological order (newest first) with their reference indices like stash@{0}, stash@{1}, etc. Each entry includes the branch name where it was created, the commit it was based on, and any custom message provided during stashing. The output format shows stash@{index}: WIP on branch: commit-message or custom descriptions if provided with git stash save "description".

Best Practice Note:

This is the same approach we use in CoreUI development for tracking multiple experimental features and temporary changes across different development contexts. Use descriptive stash messages when saving stashes with git stash save "meaningful description" to make the stash list more informative and easier to navigate.


Speed up your responsive apps and websites with fully-featured, ready-to-use open-source admin panel templates—free to use and built for efficiency.


About the Author