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: 12 months 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 (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-03T23:29:10.000Z (almost 6 years ago)
- Last Synced: 2025-04-09T10:45:03.665Z (about 1 year 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: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-phoenix - gsex - g(it) s(tash) ex(plorer) - Interactive `git stash` (Homegrown Open-Source Software)
README
# g(it) s(tash) ex(plorer) 
> Interactive `git stash` explorer using [`fzf`](https://github.com/junegunn/fzf)

## 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).