Delta: Difference between revisions
From wikinotes
No edit summary |
|||
Line 7: | Line 7: | ||
|} | |} | ||
</blockquote><!-- Documentation --> | </blockquote><!-- Documentation --> | ||
= Install = | |||
<blockquote> | |||
<source lang="bash"> | |||
brew install git-delta | |||
</source> | |||
</blockquote><!-- Install --> | |||
= Usage = | |||
<blockquote> | |||
<source lang="bash"> | |||
delta 1.txt 2.txt # combined diff | |||
delta -s 1.txt 2.txt # side-by-side diff | |||
</source> | |||
</blockquote><!-- Usage --> |
Latest revision as of 02:24, 13 July 2022
colourized side-by-side diffs and pager.
Documentation
github https://github.com/dandavison/delta
Install
brew install git-delta
Usage
delta 1.txt 2.txt # combined diff delta -s 1.txt 2.txt # side-by-side diff