An open API service indexing awesome lists of open source software.

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.

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`.