microsoft / microsoft/vscode-remote-release
Devcontainer not pulling branch from github URL
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 470
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Does this issue occur when all extensions are disabled?: Yes/No
Yes
- VS Code Version: 1.96.3
- OS Version: Windows_NT x64 10.0.26100
Steps to Reproduce:
- Create a devcontainer project and commit to github.
- Create a branch in project
- Copy URL from github
- Open Command Palette and use "Clone Repository in Container Volume"
- Paste https://github.com/OWNER/REPO/tree/BRANCH
- Open dev container and view that it opens the main branch
Additional Info:
In the vscode documentation it specifically states that you can open from github url, branch url or PR url. I've actually tried this for years and never had it work and just switch branches manually once it opens. Would be great to know why this doesnt work though
Enter microsoft/vscode-remote-try-node (or one of the other "try" repositories), a Git URI, a GitHub branch URL, or a GitHub PR URL in the input box that appears and press Enter.
My repo is a private repo. My branch has the same files as my main branch. I have previously opened my main branch as a devcontainer.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.