-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Add support for macOS enterprise deployable default settings #1811
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
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
mpysson
reviewed
Jan 24, 2025
0ee735d to
b05317f
Compare
mpysson
approved these changes
Jan 27, 2025
This comment has been minimized.
This comment has been minimized.
Merged
mjcheetham
added a commit
that referenced
this pull request
Jan 14, 2026
**Changes:** - Documentation updates & fixes - #1713 - #1722 - #1884 - #2123 - #2154 - Fix Generic provider refresh token refresh logic (#1838) - Version bump to 2.7.0 (#2177) - CODEOWNERS (#2053) - Allow unsafe remotes via config (#1721) - Drop no longer needed GitLab OAuth params (#1538) - No-op credential storage option (#1740) - Fixes to CI & build - #1746 - #1747 - #1752 - #2104 - #2217 - Use Azure Pipelines for official builds - #2054 - #2176 - Fix TRACE2 logging (#1909) - Linux ARM and ARM64 support - #1633 - #2232 - Windows ARM64 and x64 support (#2230) - Linux install-from-source bug fixes - #1757 - #2049 - #2052 - Support Oracle Linux vis install-from-source (#2212) - macOS enterprise defaults (#1811) - Actions dependency updates - #1725 - #1751 - #1750 - #1760 - #1799 - #2022 - #2048 - #1989 - #2011 - #2029 - #2051 - #2050 - #2070 - #2080 - #2089 - #2088 - #2092 - #2189 - #2193
mjcheetham
added a commit
that referenced
this pull request
Jan 20, 2026
Mirroring #1811, add support to set default settings for Linux, via MDM tooling. For this platform we look for files in the `/etc/git-credential-manager/config.d` directory. Files are a simple format of `key=value\n`, where the `key` is a configuration value name from `docs/config.md`. This format prevents values from containing a `\n` line feed character, but this is unlikely to be an issue in practice.
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.
Similar to the functionality to set default settings for GCM via the Registry on Windows, we implement support on macOS using the Apple preferences system. Preferences can be deployed as payloads via MDM configuration profiles.
The domain for GCM is
git-credential-managerand configuration settings should take the form of a dictionary under theconfigurationkey.