microsoft / microsoft/vscode-remote-release

Devcontainer not pulling branch from github URL

Open
#10,946 9 comments 14 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

containers feature-request
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:

  1. Create a devcontainer project and commit to github.
  2. Create a branch in project
  3. Copy URL from github
  4. Open Command Palette and use "Clone Repository in Container Volume"
  5. Paste https://github.com/OWNER/REPO/tree/BRANCH
  6. 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

Developing Inside a Container

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.