Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/therealklanni/gdex

gdex — g(it) d(iff) ex(plorer) — Interactive branch compare
https://github.com/therealklanni/gdex

bash cli command-line command-line-tool fzf fzf-scripts git git-diff

Last synced: about 1 month ago
JSON representation

gdex — g(it) d(iff) ex(plorer) — Interactive branch compare

Awesome Lists containing this project

README

        

# g(it) d(iff) ex(plorer) ![](https://img.shields.io/npm/dt/glex?logo=npm)

> Interactive `git diff` (branch compare) using [`fzf`](https://github.com/junegunn/fzf)

![demo](demo.gif)

## Installation

CURL:

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

npm:

```sh
npm install -g gdex
```

## Usage

```sh
$ gdex [ ]
```

Type to fuzzy-search branches to compare.

Keys:

- **up/down**: navigate (click line also works)
- **enter**: select branch / view full diff (less)
- **esc**: exit gdex

## Related tools

[gsex](https://github.com/therealklanni/gsex) - g(it) s(tash) 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).