Hey, this is a known bug with detecting multiple git repos in one workspace on our side, and we’re tracking it. No ETA for a fix yet.
A couple similar reports:
- Cursor not recognizing all of git repos within workspace
- Git source control not detected in multi-root .code-workspace
Workarounds that help some users:
- Create a multi-root workspace via
File > Add Folder to Workspace, addfrontendandbackendas separate roots, then save it as a.code-workspace. In this setup, Source Control usually picks up both repos more reliably than when you open the parent folder. - Check your settings (Settings, search for
git.):git.autoRepositoryDetection: set totrueorsubFoldersgit.repositoryScanMaxDepth: increase to2or higher
- If the repos still don’t show up, open one file from each repo. Sometimes that triggers detection.
If none of that helps, reply here and I’ll add your report to the issue. If we get an update on the fix, I’ll post it in the thread.