You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support getting/setting git config values via but config
Add key/value handling to the Config subcommand so `but config <key>
[value]` can get or set configuration values (e.g.,user.name /
user.email).
Implement config::handle to dispatch: setting writes to the
local repo config, getting uses existing lookup logic (including
user.name/email helpers) and prints JSON when requested; fall back to
the original show() behavior when no key is provided. Update CLI args to
accept optional key and value and wire the new handler into main.
This change was needed so that commands like `but config user.name
<name>` actually set the name and `but config user.name` returns the
effective value using the same lookup order as other config reads. It
preserves existing behavior for showing all configuration and improves
UX by supporting direct get/set operations.
0 commit comments