Replies: 2 comments 1 reply
-
I think it's definitely a good idea, especially since it's effectively just a frontend for git-config. That being said, I think the existing output that git does is useful for scripting, so if anything I'd like to have a backwards compatible version where the output is easier for scripts for parsing. In terms of priority, I feel like this would be lower end (read: after we get cloning working). |
Beta Was this translation helpful? Give feedback.
-
I am happy to announce that a first version of |
Beta Was this translation helpful? Give feedback.
-
Even though I would like to keep it short, I hope I can get the conversation started. As
gix
wants to be improve usability on common git workflows, I was thinking what could be done with the newly gained capabilities ingit-config
to provide some value for the common CLI user.Reading git configuration
Currently, when executing
git config
, you will get……and I usually find that overwhelming. For some reason I can't remember that
-l
lists all git config values, and it does that in a way that doesn't look particularly friendly either:What could be done provide value in the moment someone runs
gix config
by itself? My intuition is to list all values like so:For now this would just be values from the repository's config file, but in future it could be the merged result of all available git config files.
What if we provide some keynames as well?
Or with globs?
From there it's certainly possible to figure out a way to edit values comfortably and intuitively, but I leave that conversation for another day.
What's your thoughts on this one?
CC: @edward-shen
Beta Was this translation helpful? Give feedback.
All reactions