Skip to content

Add HEAD option to branch selector for automatic current branch selection #918

@TomKalina

Description

@TomKalina

Description

When using the branch selector dropdown, there should be a HEAD option that automatically resolves to the currently checked-out branch.

Current behavior

The user must manually find and select their current branch from the list every time they switch branches.

Expected behavior

  • A HEAD option is available in the branch selector dropdown
  • When selected, it automatically points to the currently checked-out branch
  • When the user switches branches (e.g. via git checkout), the graph view updates to follow the new HEAD without manual reselection

Use case

This is especially useful when frequently switching between branches — the graph always shows the relevant context without manual intervention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions