feat: Add a way to select a specific branch before building the devcontainer
Open
- Dominant language
- Go
- Stars
- 300
- Forks
- 64
- Avg merge
- 20m
- Merged PRs (30d)
- 1
Description
### Description
Improve feature parity with `github codespaces`.
The goal is to add a new `coder_parameter` called `target branch` to workspace templates.
It will let the user select a branch from which to build a devcontainer.
Unlike the devcontainer cli, the `git clone` happen in the `enbuilder` container.
So I think it is the responsibility of `envbuilder` to checkout to the target branch **before building the container**.
---
PS: The [workaround in readme.md](https://github.com/coder/envbuilder?tab=readme-ov-file#git-branch-selection) does not work on all platforms.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.