Open davidcorrigan714 opened 2 years ago
Thanks for opening your first issue here! Please refer to our support and troubleshooting docs.
OK will look at this!
Can you send me a link where it doesn't work if you press .
?
It's not a specific link but it's easy enough to reproduce. Essentially whenever you navigate to the repo with the "Files" button it resets the query parameters in the URL but not the branch you're viewing. So to reproduce:
I really thought there was a way in the VSCode.dev UI to see what branch you're on, but couldn't find it this time so I used the new file trick to tell the difference. Curious if you see another way to tell what branch it has open.
The "Files" nav button I'm referring to above:
When using the period shortcut to go from an Azure DevOps Repo to vscode.dev it doesn't always open the right branch. I'd guess it's because Azure DevOps doesn't always have the branch name in the URL. I think Azure DevOps only adds the branch name to the URL when you change it in the UI or use a link that contains the branch. Otherwise it always opens to the last branch you were viewing but doesn't add that to the URL even if it's not the main or default branch for the repo.