File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -558,6 +558,27 @@ The available commands are:
558558
559559Tooling Used: Claude Code (Claude Opus 4.5) for this feature.
560560
561+ ### legit-browse-remote: open current file/line on GitHub
562+
563+ Use ` Alt-x legit-browse-remote ` to open the current file at the current line in GitHub.
564+
565+ When the region is active, it selects a range of lines (e.g., ` #L10-L20 ` ).
566+
567+ Example supported URL formats:
568+
569+ | Input | Parsed |
570+ | -------| --------|
571+ | ` git@github.com:owner/repo.git ` | owner/repo |
572+ | ` git@github.com:owner/repo ` | owner/repo |
573+ | ` https://github.com/owner/repo.git ` | owner/repo |
574+ | ` https://github.com/owner/repo ` | owner/repo |
575+
576+ You can configure these settings:
577+
578+ - ` lem/legit/browse:*default-remote* ` : a variable to change the default git remote name (default: ` "origin" ` )
579+
580+ This feature currently only works to open projects on GitHub. We will expand it, pull
581+ requests are also possible.
561582
562583## Misc
563584
You can’t perform that action at this time.
0 commit comments