Repository navigation
Add Git Preferences window for editing git config - #567
Merged
Merged
Conversation
goneng
marked this pull request as draft
August 11, 2026 10:38
goneng
force-pushed
the
git-preferences-window
branch
from
August 11, 2026 12:39
1c18275 to
402d1ed
Compare
goneng
marked this pull request as ready for review
August 11, 2026 12:46
Let users view and edit common git config values (user identity, merge/diff tools, line-ending handling, etc.) at both the repository and global scope, similar to git-gui's own Preferences dialog.
goneng
force-pushed
the
git-preferences-window
branch
from
August 11, 2026 13:15
402d1ed to
2cb82e8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a "Git Preferences" window to GitX (GitX menu → Git Preferences…)
to view and edit common git configuration values, like -
at both the repository-level and the global-level (
~/.gitconfig),via 2 tabs in one window with a toolbar pane switcher matching GitX's existing app-settings window.
Read and write config the same way git-gui itself does it
(
git config [--global] --null --listfor bulk reads per scope,git config [--global] <key> <value>/--unsetfor writes),including its behavior of falling back to the global value instead of storing a redundant local override.
Suggested UI for the Git-Parameters Window
(The "Global" tab is selected here)
Test plan
values load correctly on both the "This Repository" and "Global" panes.
git config --local/--global --get <key>that it landed in the correct file.