https://github.com/kribblo/git-list-stashes
Finds and lists open git stashes in many git repositories.
https://github.com/kribblo/git-list-stashes
cli git git-stash javascript nodejs
Last synced: 2 months ago
JSON representation
Finds and lists open git stashes in many git repositories.
- Host: GitHub
- URL: https://github.com/kribblo/git-list-stashes
- Owner: kribblo
- Created: 2017-04-07T13:07:21.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-02T09:41:11.000Z (about 9 years ago)
- Last Synced: 2025-10-03T14:56:59.481Z (9 months ago)
- Topics: cli, git, git-stash, javascript, nodejs
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/git-list-stashes
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# git-list-stashes
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.
## Usage
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.
### Options
-v, --version print version
-h, --help print help
## Install
npm install -g git-list-stashes
Needs [node](https://nodejs.org/) installed and also the `git` binary somewhere on the `PATH`.