Skip to content

Specify the branch to use when starting a workspace from an SSH Git URL #23499

Description

@svor

Is your task related to a problem? Please describe

When using an HTTPS Git URL, it's possible to specify a branch directly in the URL. SSH, however, does not support this — it only allows referencing the remote repository.
We need to investigate how a specific branch can be selected when using the SSH flow.

Describe the solution you'd like

Maybe we can add query parameter support for branch specification:

HTTPS: https://github.com/user/repo?branch=feature-branch
SSH: git@github.com:user/repo.git?branch=/feature/nice-feature 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/che-serverarea/dashboardbackport to 7.109.xkind/taskInternal things, technical debt, and to-do tasks to be performed.severity/P1Has a major impact to usage or development of the system.team/AThis team is responsible for the Che Operator and all its operands as well as chectl and Hosted Che

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions