# Worktree change count

**URL:** <https://forum.cursor.com/t/worktree-change-count/162669>\
**Category:** Bug Reports\
**Tags:** worktrees\
**Created:** [June 7, 2026, 8:42pm UTC](https://forum.cursor.com/t/worktree-change-count/162669 "2026-06-07T20:42:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rgudivada](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@rgudivada](https://forum.cursor.com/u/rgudivada)\
**Post date:** [June 7, 2026, 8:42pm UTC](https://forum.cursor.com/t/worktree-change-count/162669/1 "2026-06-07T20:42:07Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

Cursor is adding the changes across all the git worktrees of a repo and showing it on the git bubble count

### Steps to Reproduce

1. Create multiple worktrees in a repo.
2. Make few changes in different files in those worktrees.
3. See the count on source control (ctrl+shift+G) bubble.

### Expected Behavior

Source control bubble should show only the changes of the selected worktree

### Operating System

MacOS

### Version Information

Version: 3.7.12  
VS Code Extension API: 1.105.1  
Commit: b887a26c4f70bd8136bfffeda812b24194ec9ce0  
Date: 2026-06-05T01:45:12.918Z  
Layout: editor  
Build Type: Stable  
Release Track: Default  
Electron: 39.8.1  
Chromium: 142.0.7444.265  
Node.js: 22.22.1  
V8: 14.2.231.22-electron.0  
xterm.js: 6.1.0-beta.256  
OS: Darwin arm64 25.5.0

### Does this stop you from using Cursor

No - Cursor works, but with this issue

---

<div class="post-metadata">

**Author:** ![Tom\_Coustols](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/tom_coustols/32/97175_2.png) [@Tom\_Coustols](https://forum.cursor.com/u/Tom_Coustols)\
**Post date:** [June 8, 2026, 1:11am UTC](https://forum.cursor.com/t/worktree-change-count/162669/5 "2026-06-08T01:11:48Z")

</div>

hey @rgudivada, thanks for the post, we will check on this, tho would you mind sharing some screenshot of the comportment that is happening right now? Tho, good catch, the SCM badge shouldn’t be summing changes across every worktree in the repo. And as of my testing, I was able to reproduce the issue too.

---

<div class="post-metadata">

**Author:** ![mohitjain](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/mohitjain/32/100229_2.png) [@mohitjain](https://forum.cursor.com/u/mohitjain)\
**Post date:** [June 8, 2026, 10:36am UTC](https://forum.cursor.com/t/worktree-change-count/162669/8 "2026-06-08T10:36:26Z")

</div>

Thanks for the clear repro steps! As @Tom_Coustols noted, we were able to reproduce this on our end - the Source Control badge is summing changes across every worktree of the repo instead of just the active one.

While we dig into it, you can make the badge reflect only the worktree you’re currently in by adding this to your `settings.json`:

`"scm.countBadge": "focused"`

That switches the badge from “sum of all detected repositories” (the default) to just the focused one, which matches what you’re after. You can revert to `"all"` (or use `"off"`) whenever you like.

We’ll keep tracking it from here.
