When a folder contains multiple git entries, the cursor is not correctly identified

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I have frontend and backend folders in a project folder, each with a Git repository, but the cursor isn’t recognizing them.

Steps to Reproduce

Create a folder, then create two subfolders inside it. Run git init on each subfolder.

Expected Behavior

Normal display

Screenshots / Screen Recordings

Operating System

Windows 10/11

Version Information

Version: 3.2.11 (user setup)
VSCode Version: 1.105.1
Commit: e9ee1339915a927dfb2df4a836dd9c8337e17cc0
Date: 2026-04-24T14:36:47.933Z
Layout: glass
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
OS: Windows_NT x64 10.0.26200

Does this stop you from using Cursor

Yes - Cursor is unusable

Hi,

Thanks for posting on the Cursor forum!

To help ensure most of our users can participate in discussions, this forum is currently English only.

If you’d like, you can edit your post to translate it into English. Once it meets our guidelines, it will be automatically relisted.

Thanks for understanding!

Note: This is an automated detection system and sometimes makes mistakes. If your post is already in English, feel free to ignore this message, or just make a small edit and it will be reviewed again.

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:

Workarounds that help some users:

  1. Create a multi-root workspace via File > Add Folder to Workspace, add frontend and backend as 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.
  2. Check your settings (Settings, search for git.):
    • git.autoRepositoryDetection: set to true or subFolders
    • git.repositoryScanMaxDepth: increase to 2 or higher
  3. 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.