Syntax highlights for your git diffs
Colors for your git diffs
Colordiffs is under development, things are bound to be broken. If you would like to help out, start an issue or submit a pull request :)
pip install colordiffs
How to run
git diff HEAD^ | colordiffs | less -r
- git diff HEAD^ gets a diff between the current and the previous commit
- colordiffs reads a diff from stdin
- less -r takes the output of colordiffs and uses less to page it, the -r is required to interpret the terminal escape codes
Python 2.x, 3.x Pygments
Support more kinds of git diff output. Right not it supports the most common — +++ diffs, but if the diff is for a new file or deletion of file it breaks.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|colordiffs-0.1.8.linux-x86_64.tar.gz (8.3 kB) Copy SHA256 hash SHA256||Dumb Binary||any|
|colordiffs-0.1.8.tar.gz (4.1 kB) Copy SHA256 hash SHA256||Source||None|