Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
Have a group of git branches that creates a folder in the Branches accordion:
Have an origin branch, not created/owned by you that falls into one of the folders
In the terminal run git checkout -t orgin/<origin_branch_created_by_someone_else> or switch to the branch via the Remotes accordion:
Switch another branch so the new local branch falls under the folders
Expected: The displayed name updates so the folder name doesn't show in the displayed branch name, like foobar1, foobar2, and foobar3 in Step 1
Result: The folder remains in the branch name, so it appears like the folder name is duplicated. Despite both git and vscode knowing the correct branch name:
Despite users is only once in the branch name according to git and VS Code elsewhere:
Description
git checkout -t orgin/<origin_branch_created_by_someone_else>
or switch to the branch via the Remotes accordion:foobar1
,foobar2
, andfoobar3
in Step 1users
is only once in the branch name according to git and VS Code elsewhere:GitLens Version
15.1.0
VS Code Version
Version: 1.90.0 (user setup) Commit: 89de5a8d4d6205e5b11647eb6a74844ca23d2573 Date: 2024-06-04T19:33:54.889Z Electron: 29.4.0 ElectronBuildId: 9593362 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Windows_NT x64 10.0.19045
Git Version
git version 2.45.2.windows.1
Logs, Screenshots, Screen Captures, etc
No response