Finds and lists open git stashes in many git repositories.
If you have one or a few workspaces with several git repositories, and you (or maybe your IDE) make git stashes that are forgotten, this tool will list them for you.
git-list-stashes [/path/to/workspace] [...more paths] [...or path/to/repo] [options]
If there are any stashes found or other problems, the script exits with code 1 + writes a report to STDERR, so it can for instance be used in a script for automated checks.
If no path given, defaults to current working directory.
Can be used as a git command git list-stashes
as well.
-v, --version print version
-h, --help print help
npm install -g git-list-stashes
Needs node installed and also the git
binary somewhere on the PATH
.