@branch tag when working with multiple repos

I’m working with 3 different repos, I want to add @branch or @diff to provide context but I can’t seem to find switch to another repo,

For example I have repo A, B and C

I have some changes on A and it’s at the top of the git list on the left side panel. I have actively working on repo B and a branch / PR is going on, when I do @branch it pulls the changes from repo A I need to dynamically change it or somehow have a way to tell cursor to @branch from repo B

Hey, this is a known bug with multi root workspaces in cursor, there are other problems with it, e.g. worktrees do not work or agent reviews. There is a couple of threads on forum in regards to this, as far as I am aware no official timeline, just that cursor team is aware of this issue. The only way to help with this is:
have multi root workspace when working
for @branch, agent review and worktrees use separate cursor instances for each project

yes i know this does not help much, I struggle with it too

for @branch and @diff you can easily tell the agent to use git commands to load the diff instead, works well but make sure it uses git --no-pager ... flag

hope cursor team fixes this soon, real bummer

1 Like