Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/therealklanni/gsex

gsex — g(it) s(tash) ex(plorer) — Interactive git stash
https://github.com/therealklanni/gsex

cli command-line command-line-tool fzf fzf-scripts git git-stash zsh

Last synced: 26 days ago
JSON representation

gsex — g(it) s(tash) ex(plorer) — Interactive git stash

Awesome Lists containing this project

README

        

# g(it) s(tash) ex(plorer) ![](https://img.shields.io/npm/dt/gsex?logo=npm)

> Interactive `git stash` explorer using [`fzf`](https://github.com/junegunn/fzf)

![demo](demo.gif)

## Installation

CURL:

```sh
curl -o /usr/local/bin/gsex https://git.io/gsex && chmod 755 /usr/local/bin/gsex
```

npm:

```sh
npm install -g gsex
```

## Usage

```sh
$ gsex []
```

Type to fuzzy-search stashes.

Keys:

- **up/down**: navigate (click line also works)
- **ctrl-p**: pop selected stash
- **ctrl-a**: apply selected stash
- **ctrl-b**: create a branch from selected stash
- **del**: drop selected stash
- **enter**: view full diff (less)
- **esc**: exit gsex

## Related tools

[gdex](https://github.com/therealklanni/gdex) - g(it) d(iff) ex(plorer)

[glex](https://github.com/therealklanni/glex) - g(it) l(og) ex(plorer)

## License

MIT © Kevin Lanni

Modified from original work by [bturrubiates](https://github.com/bturrubiates/fzf-scripts).