Skip to content

Add new GitConfig resource#288

Open
Gijsreyn wants to merge 2 commits intomicrosoft:mainfrom
Gijsreyn:gh-244/main/add-gitconfig-resource
Open

Add new GitConfig resource#288
Gijsreyn wants to merge 2 commits intomicrosoft:mainfrom
Gijsreyn:gh-244/main/add-gitconfig-resource

Conversation

@Gijsreyn
Copy link
Copy Markdown
Contributor

@Gijsreyn Gijsreyn commented May 8, 2026

📖 Description

This pull request adds a new generic GitDsc/GitConfig DSC resource that can manage any git config key-value pair (global, system, local, worktree). It supersedes the other resources, but they are kept for backward compatibility.

Sample configuration: SetGitConfigUserEmail.v3.winget. This sets user.email to a GitHub noreply address globally.

🔗 References

Resolves #244

🔍 Validation

Need pipeline validation. Local tests passed.

✅ Checklist

📋 Issue Type

  • Bug fix
  • Feature
  • Task
Microsoft Reviewers: Open in CodeFlow

@github-actions

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Requested resource: GitDsc/GitConfig

1 participant