Git: Diffs útiles para Alpine
This commit is contained in:
parent
54cc16c7c7
commit
41d0cc7e6c
1 changed files with 17 additions and 2 deletions
17
Git.md
17
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/)
|
||||||
|
|
Reference in a new issue