summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-07-14 09:55:22 -0400
committerDan Davison <dandavison7@gmail.com>2020-07-14 09:56:19 -0400
commit9c822093812ef7844e46b63a2610624e4019121b (patch)
tree82ed0de7e8edd30a39cd3b028b8c8c0520145296 /README.md
parent4a0c892e58293ed262a4a3a0ef636f90bac35788 (diff)
Pass --global flag to `git config` command in README
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 069c49e0..0afb580c 100644
--- a/README.md
+++ b/README.md
@@ -358,7 +358,7 @@ Use the `navigate` feature to activate navigation keybindings. In this mode, pre
The recommended way to use `navigate` is to activate it only when needed, for example by doing
```bash
-git config delta.navigate true
+git config --global delta.navigate true
```
The reason is the following: Delta uses `less` as its pager, and the `navigate` feature works by doing `less --pattern <regex-matching-file-and-commit-lines>`. When the git output does not contain file/commit diff lines, `less --pattern` behaves unhelpfully (see [#234](https://github.com/dandavison/delta/issues/234), [#237](https://github.com/dandavison/delta/issues/2)).