Replies: 1 comment
-
As Particularly with the example above, I don't see what the value is as What am I missing? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was looking for how to read (or write) a value for a given
[section] key=value
, for instance[user] name
.I realized at least for
User::NAME
we already have several examples:let (user_name, mut user_email) = entity_in_section(config, &User::NAME, &User::EMAIL, None);
I am curious what your thoughts might be about implementing
gix config --get user.name
gix config --set user.name
or something like that.Also, we probably want a
gix config --path .gitmodules
or similar argument/option to allow plumbing interaction with arbitrary git config compliant file types.Beta Was this translation helpful? Give feedback.
All reactions