Skip to content

Add Git Preferences window for editing git config - #567

Merged
hannesa2 merged 1 commit into
gitx:masterfrom
goneng:git-preferences-window
Aug 11, 2026
Merged

hannesa2 merged 1 commit into
gitx:masterfrom
goneng:git-preferences-window

Conversation

@goneng

@goneng goneng commented Aug 11, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Add a "Git Preferences" window to GitX (GitX menu → Git Preferences…)
to view and edit common git configuration values, like -

  • user name/email
  • merge and diff tools
  • line-ending handling
  • pull/merge behavior
  • commit signing

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 --list for bulk reads per scope,
git config [--global] <key> <value> / --unset for 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

gitx-PR_#56x_GitX-Git-Parameters

(The "Global" tab is selected here)

Test plan

  • Open a repository in GitX, choose GitX → Git Preferences…, and confirm
    values load correctly on both the "This Repository" and "Global" panes.
  • Edit a value on each pane, Save, and confirm via git config --local/--global --get <key> that it landed in the correct file.
  • Cancel without saving and confirm nothing was written.

@goneng
goneng marked this pull request as draft August 11, 2026 10:38
@goneng
goneng force-pushed the git-preferences-window branch from 1c18275 to 402d1ed Compare August 11, 2026 12:39
@goneng
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
goneng force-pushed the git-preferences-window branch from 402d1ed to 2cb82e8 Compare August 11, 2026 13:15
@hannesa2
hannesa2 merged commit 17ab37e into gitx:master Aug 11, 2026
3 checks passed
@goneng
goneng deleted the git-preferences-window branch August 11, 2026 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants