Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/therealklanni/gsex
- Owner: therealklanni
- License: mit
- Created: 2018-06-08T18:47:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-03T23:29:10.000Z (about 4 years ago)
- Last Synced: 2024-09-28T08:21:05.307Z (about 1 month ago)
- Topics: cli, command-line, command-line-tool, fzf, fzf-scripts, git, git-stash, zsh
- Language: Shell
- Homepage: https://npmjs.com/gsex
- Size: 4.57 MB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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).