Skip to content

Share Claude Code project configuration#2024

Merged
flanakin merged 2 commits intodevfrom
claude-code-config
Mar 2, 2026
Merged

Share Claude Code project configuration#2024
flanakin merged 2 commits intodevfrom
claude-code-config

Conversation

@flanakin
Copy link
Collaborator

Summary

  • Updated .gitignore to share the .claude/ directory while keeping settings.local.json gitignored for personal configuration
  • Added .claude/settings.json with shared project permissions (PowerShell execution)

Test plan

  • Verify .claude/settings.json is tracked and .claude/settings.local.json is ignored
  • ❎ Log not needed

🤖 Generated with Claude Code

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>
Copilot AI review requested due to automatic review settings February 25, 2026 07:06
@flanakin flanakin requested a review from MSBrett as a code owner February 25, 2026 07:06
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: Review 👀 PR that is ready to be reviewed label Feb 25, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates repository configuration so Claude Code project settings can be shared in-repo while keeping developer-specific settings untracked.

Changes:

  • Update .gitignore to allow committing .claude/ while ignoring .claude/settings.local.json.
  • Add .claude/settings.json to define shared Claude Code permissions (PowerShell execution via pwsh).

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>
@flanakin flanakin enabled auto-merge (squash) February 25, 2026 16:15
@flanakin flanakin added the Skill: DevOps GitHub setup and automation label Feb 25, 2026
@flanakin flanakin added this to the v14 milestone Mar 2, 2026
@flanakin flanakin merged commit f45b5cb into dev Mar 2, 2026
4 checks passed
@flanakin flanakin deleted the claude-code-config branch March 2, 2026 08:14
@RolandKrummenacher RolandKrummenacher removed the Needs: Review 👀 PR that is ready to be reviewed label Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skill: DevOps GitHub setup and automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants