Skip to content

Open the selected commit on GitHub #328

Description

@jongio

The commits panel can copy a commit hash (y) and export a patch (x) but can't open the commit on GitHub. Add an o keybinding that opens the selected commit at github.com///commit/ in the browser.

Acceptance criteria:

  • o on a selected commit opens its github.com commit page.
  • Builds the URL from the origin remote; shows a clear toast when there's no github remote or no commit is selected.
  • Keybinding registered in the panel, the keybindings manifest, and the help overlay.
  • Unit tests cover URL building and the no-remote / no-selection cases.

Metadata

Metadata

Assignees

Labels

ideaFeature idea from the idea pipeline

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions