Skip to content

chore: ignore project-local worktrees - #27

Merged
Boulea7 merged 1 commit into
mainfrom
cleanup/main-reconcile-2026-04-12
Apr 12, 2026
Merged

Boulea7 merged 1 commit into
mainfrom
cleanup/main-reconcile-2026-04-12

Conversation

@Boulea7

@Boulea7 Boulea7 commented Apr 12, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • ignore the repository-local .worktrees/ container
  • reduce untracked noise from local git worktree checkouts
  • keep this cleanup separate from the old divergent local main history

Verification

  • git diff --check
  • git check-ignore -v .worktrees
  • reviewer audit: no blocking findings

Summary by Sourcery

Chores:

  • Update .gitignore to exclude repository-local .worktrees/ directories from tracking.

Summary by cubic

Ignore repository-local .worktrees/ directories in .gitignore to reduce untracked noise from Git worktree checkouts. This keeps local worktrees out of version control and avoids accidental commits.

Written for commit 8a7b4d0. Summary will update on new commits.

Summary by CodeRabbit

  • Chores
    • Updated development configuration to improve local development environment management.

@sourcery-ai

sourcery-ai Bot commented Apr 12, 2026 •

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Update .gitignore to ignore local .worktrees directories used for git worktrees, reducing untracked file noise from local worktree checkouts.

File-Level Changes

Change Details Files
Ignore local git worktree container directory to reduce untracked-file noise.
  • Add .worktrees/ entry to .gitignore so repository-local worktree containers are ignored by Git
  • Ensure the ignore rule targets only the local .worktrees directory used by git worktree checkouts
.gitignore

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@coderabbitai

coderabbitai Bot commented Apr 12, 2026 •

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 11331a82-1f38-4b95-bf43-47e0c8f371f3

📥 Commits

Reviewing files that changed from the base of the PR and between 4689a8d and 8a7b4d0.

📒 Files selected for processing (1)
  • .gitignore

📝 Walkthrough

Walkthrough

The pull request adds a new ignore pattern to .gitignore to exclude the .worktrees/ directory from version control, preventing git worktrees from being tracked.

Changes

Cohort / File(s) Summary
Git Configuration
.gitignore
Added ignore pattern for .worktrees/ directory to exclude git worktrees from version control.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~1 minute

Poem

🐰 A worktree, here and there,
Scattered 'cross the development air,
But now ignored with gentle care,
In .gitignore beyond compare!
One line added, clean and fair ✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cleanup/main-reconcile-2026-04-12

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Boulea7
Boulea7 merged commit 804a950 into main Apr 12, 2026
4 of 5 checks passed

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@Boulea7
Boulea7 deleted the cleanup/main-reconcile-2026-04-12 branch April 12, 2026 12:32
Boulea7 added a commit that referenced this pull request Apr 12, 2026
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.

1 participant