{"thread":{"id":"59213","subject":"Bug Report git worktree","startedAt":"2023-02-08T16:41:05Z","lastAt":"2023-02-08T16:41:05Z","messageCount":1,"participants":["Konstantin Hebenstreit"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"471776","messageId":"8b445d23-245d-d6c4-b4a2-d6f3de9051a7@gmail.com","threadId":"59213","inReplyTo":null,"subject":"Bug Report git worktree","fromName":"Konstantin Hebenstreit","fromEmail":"konstantin.hebenstreit@gmail.com","sentAt":"2023-02-08T16:40:30Z","receivedAt":"2023-02-08T16:41:05Z","isPatch":false,"sender":{"key":"konstantin.hebenstreit@gmail.com","avatar":null},"body":"Dear git developer community!\n\nI'll just do a very simple small bug report.\n\nI tried to use the git worktree command in vscode today.\nvscode version: updated\ngit version 2.34.1\n\nI created a worktree inside vscode, inside the extension gitlens by \nright clicking on another brach and selecting worktree.\nThis was not working immideately, so I first created a new folder \n(../new_folder) where I then linked the worktree to.\nThis was working fine. git worktree list showed both locations with \ntheir respective two branches.\n\nThen I switched to the new_folder, using 'pushd'.\n\nBug 1)\nIn the Explorer field of vscode I did still see the files as they were \nbefore changing directory. Even if I reloaded it.\nBut in the shell of vscode I saw the files as they should be (as they \nare on the branch which is tied to the new_folder).\n\nBug 2) more problematic\nworktree overwrote my settings.json file.\nfile:  .vscode/settings.json (not tracked by git)\nCould be because the Extension 'cSpell' overwrote it. I was adding two \nnew words to its dictionary, which is saved inside the settings json.\nWhat I am left now is a settings.json that contains only the \ncSpell.words dict with two words in it. My original settings.json is gone...\n\nNot that much of a problem, but inconvenient, as a cannot get it back, \nsince git did not track it...\n\nHope this helps in some way!\n\nBest,\nKonstantin\n\n"}]}