4 ms·
Anyone else getting this issue? ⟩ git diff error: Found argument 'Extended' which wasn't expected, or isn't valid in this context USAGE: delta --d
by willbw 6y ago
Anyone else getting this issue?
⟩ git diff
error: Found argument 'Extended' which wasn't expected, or isn't valid in this context
USAGE:
delta --dark --minus-color <minus_color> --plus-color <plus_color> --theme <theme>
For more information try --help
My ~/.gitconfig file has the copy pasted lines from the github example
[core]
pager = delta --dark --plus-color="#012800" --minus-color="#340001" --theme="Monokai Extended"
[interactive]
diffFilter = delta --color-only
Installed with homebrew on macos.
- Myrmornis 6y agoThanks! I made a hasty edit to the README earlier. Try --theme='Monokai Extended' It seems that in ~/.gitconfig, a theme name with spaces must be quoted with single quotes. At least, that is working on MacOS.