Merged
Conversation
Share the .claude/ directory with shared settings while keeping settings.local.json gitignored for personal configuration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates repository configuration so Claude Code project settings can be shared in-repo while keeping developer-specific settings untracked.
Changes:
- Update
.gitignoreto allow committing.claude/while ignoring.claude/settings.local.json. - Add
.claude/settings.jsonto define shared Claude Code permissions (PowerShell execution viapwsh).
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.gitignore |
Stops ignoring the entire .claude/ folder and instead ignores only .claude/settings.local.json. |
.claude/settings.json |
Adds shared Claude Code permission configuration allowing pwsh execution. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
RolandKrummenacher
approved these changes
Mar 2, 2026
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
.gitignoreto share the.claude/directory while keepingsettings.local.jsongitignored for personal configuration.claude/settings.jsonwith shared project permissions (PowerShell execution)Test plan
.claude/settings.jsonis tracked and.claude/settings.local.jsonis ignored🤖 Generated with Claude Code