Re: Make 'git stash list' more informative
- From
Lucas Seiki Oshiro <lucasseikioshiro@gmail.com>
- Date
- Apr 5, 2025, 16:24 UTC
- Message-ID
- <29E4ED32-4909-48EF-86BB-67111B62AE1A@gmail.com>
- In-Reply-To
- <edcd6174-e931-4ab9-b61d-8126a6cab740@rawbw.com>
> It contains the last commit's subject which often/usually doesn't really describe the stash entry.
`git stash list` accepts the options from `git log`, so you can change look at its manpage to find other options that show the information that you want.
> I propose to amend WIP stash entry descriptions with size, number of dirs and files
Perhaps this helps you:
`git stash list --stat --pretty=reference`
You can customize following the format described on https://git-scm.com/docs/pretty-formats.
> Thanks, > Yuri
I hope it helps you!