I wanted to get all the git config entries, so I glanced over the options and found --get-all
, but it gave:
C:\>git config --global --get-all
error: wrong number of arguments
usage: git config [<options>]
It doesn't seem to specify a number of arguments, it just says [<options>]
.
And I don't know what other options it would need.
For viewing the entire config, the correct argument is --list
, not --get-all
(or you may also want --edit
).
The "number of arguments" is of arguments to the argument (or so to speak), subarguments; it's just a really vague error message.