From 41d0cc7e6c4112edc1b4fa7d5c34152b7d6a3f84 Mon Sep 17 00:00:00 2001 From: Nulo Date: Tue, 21 Dec 2021 12:28:45 -0300 Subject: [PATCH] =?UTF-8?q?Git:=20Diffs=20=C3=BAtiles=20para=20Alpine?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Git.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/Git.md b/Git.md index f8a752d..a01218e 100644 --- a/Git.md +++ b/Git.md @@ -1,2 +1,17 @@ -- [Better Diff Highlighting in Git](https://joelclermont.com/post/2021-02/better-diff-highlighting-in-git/) -- [Git es difícil](https://mastodon.sdf.org/@khm/107301080271400610) +- [Git es difícil](https://mastodon.sdf.org/@khm/107301080271400610) + +## Diffs útiles para Alpine + +- `apk add git-diff-highlight less` +- `~/.gitconfig` + + ``` + [pager] + log = diff-highlight | less + show = diff-highlight | less + diff = diff-highlight | less + [interactive] + diffFilter = diff-highlight + ``` + +Gracias: [Better Diff Highlighting in Git](https://joelclermont.com/post/2021-02/better-diff-highlighting-in-git/)