Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-23 00:21:40 +00:00
parent 716a67f83d
commit 4e6886aa1f
57 changed files with 368 additions and 131 deletions

17
tldr/diff-so-fancy Normal file
View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# diff-so-fancy
> Colorize `diff` output in a more human readable way.
> More information: <https://github.com/so-fancy/diff-so-fancy#-usage>.
- Colorize `diff`:
`diff {{[-u|--unified]}} {{path/to/file1}} {{path/to/file2}} | diff-so-fancy`
- Set `diff-so-fancy` to colorize the output during Git's interactive staging:
`git config --global interactive.diffFilter "diff-so-fancy --patch"`