Ecosyste.ms: Awesome

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

https://github.com/darrenburns/dunk

Prettier git diffs in the terminal 🎨
https://github.com/darrenburns/dunk

cli diff git terminal

Last synced: 21 days ago
JSON representation

Prettier git diffs in the terminal 🎨

Lists

README

        

# dunk

Pipe your `git diff` output into `dunk` to make it prettier!

![image](https://user-images.githubusercontent.com/5740731/162084469-718a8b48-a176-4657-961a-f45e157ff562.png)

> ⚠️ This project is **very** early stages - expect crashes, bugs, and confusing output!

## Quick Start

I recommend you install using `pipx`, which will allow you to use `dunk` from anywhere.

```
pipx install dunk
```

## Basic Usage

Pipe the output of `git diff` into `dunk`:

```
git diff | dunk
```

or add it to git as an alias:
```
git config --global alias.dunk '!git diff | dunk'
```

### Paging

You can pipe output from `dunk` into a pager such as `less`:

```
git diff | dunk | less -R
```