Microsoft/vscode

Git - remember an added git repository that is outside the parent folder of current workspace

Open

#250,580 opened on Jun 4, 2025

View on GitHub
 (0 comments) (0 reactions) (1 assignee)TypeScript (10,221 forks)batch import
buggithelp wanted

Repository metrics

Stars
 (74,848 stars)
PR merge metrics
 (Avg merge 11h 43m) (1,000 merged PRs in 30d)

Description

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: Version: 1.100.3 (user setup) Commit: 258e40fedc6cb8edf399a463ce3a9d32e7e1f6f3 Date: 2025-06-02T13:30:54.273Z Electron: 34.5.1 ElectronBuildId: 11369351 Chromium: 132.0.6834.210 Node.js: 20.19.0 V8: 13.2.152.41-electron.0 OS: Windows_NT x64 10.0.19045
  • OS Version: Microsoft Windows 10.0.19045.5917

Steps to Reproduce:

  1. Use the "Git: Open Repository" command to add a repository that is outside the parent folder of the current workspace
  2. Close VS Code
  3. Reopen the workspace
  4. the added respository is not listed in the Source Control panel. Nor it is listed in the "Git: Reopen Closed Repositories..." command

Contributor guide