We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17b9edd commit 3a57596Copy full SHA for 3a57596
pro-tips.md
@@ -2,10 +2,12 @@
2
3
#### One-off fanciness or a specific diff-so-fancy alias
4
5
-You can do also do a one-off or a specific `diff-so-fancy` alias:
+You can do also do a one-off:
6
```shell
7
git diff --color | diff-so-fancy
8
-
+```
9
+or configure an alias to use `diff-so-fancy`:
10
+```shell
11
git config --global alias.dsf '!f() { [ -z "$GIT_PREFIX" ] || cd "$GIT_PREFIX" '\
12
'&& git diff --color "$@" | diff-so-fancy | less --tabs=4 -RFXS; }; f'
13
```
0 commit comments