https://github.com/knsh14/diff-highlight-go
https://github.com/knsh14/diff-highlight-go
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/knsh14/diff-highlight-go
- Owner: knsh14
- License: mit
- Created: 2018-01-14T14:42:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-20T19:18:25.000Z (over 8 years ago)
- Last Synced: 2025-02-04T04:30:11.327Z (over 1 year ago)
- Language: Go
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# diff-highlight-go
---
git diff-highlight go implementation
base implementation is [here](https://github.com/git/git/tree/master/contrib/diff-highlight)
difference is you can't change highlight color. only just inverse.
# Install
```
$ go get github.com/knsh14/diff-highlight-go
```
# Usage
Change pager setting on `.gitconfig`
```
[pager]
log = diff-highlight-go | less
show = diff-highlight-go | less
diff = diff-highlight-go | less
```