Repository navigation
Conversation
- Support `ssh://[user@]host[:port]/path` and `user@host:path` remotes (not only `git@host:path.git`)
- Map Azure DevOps SSH remotes (`v3/{org}/{project}/{repo}`) to their web URL
- Restore the HTTPS probe for SSH hosts (`HTTPSValidator.Add` was no longer called since 582c1a2) and treat well-known hosts as HTTPS
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- `Models.PullRequestPlatform` detects GitHub, GitLab, Gitea, Forgejo/Codeberg, Bitbucket Cloud, Azure DevOps and Gitee, and builds the create-PR page URL with source, target, and (where supported) title/body, including cross-fork PRs - Per-remote platform override stored in `sourcegit.settings` for self-hosted servers that can not be detected by host name - `Commands.QueryRemoteHead` to resolve a remote's default branch Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Right-click a remote branch while on another branch: `Create PR: <current> → <remote/branch>...` - `Create PR for upstream ...` (local branch, or the upstream remote branch of current) opens the same dialog, targeting the remote's default branch - Dialog with searchable target branch, title and description prefilled from commits and the repository's PR/MR templates - Optionally push the source branch first (with `-u` and a remote choice when it has no upstream) - Opens the platform's prefilled create page; fields the platform can not prefill are copied to the clipboard - Asks for the hosting platform when it can not be detected from host name and remembers it per remote Co-Authored-By: Claude Opus 5.5 <[email protected]>
…u in history graph Co-Authored-By: Claude Opus 5.5 <[email protected]>
…PR dialog Co-Authored-By: Claude Opus 5.5 <[email protected]>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Right-click another branch → Create PR:
current→remote/branch... now opens a dialog instead of jumping straight to the browser.The dialog lets you:
target..source:.github/pull_request_template.md,.github/PULL_REQUEST_TEMPLATE/*.md,.gitlab/merge_request_templates/*.md,.gitea/,.azuredevops/,docs/, ...)DefaultRemote, then a remote other than the target's (your fork)OK opens the platform's "create pull request" page with source, target, title and description prefilled. Nothing is created through an API, and no tokens are needed.
Entry points:
Platforms
owner:branch)When a platform can't prefill a field, or the URL would get too long (> 7000 chars), the title and description are copied to the clipboard and a notification says so.
For self-hosted servers whose host name doesn't reveal the platform, the dialog shows a Platform dropdown. The choice is saved per remote in
sourcegit.settings.Also fixed
Web URLs of SSH remotes:
ssh://[user@]host[:port]/pathanduser@host:pathremotes are now converted, not justgit@host:path.gitv3/{org}/{project}/{repo}) map to their web URLHTTPSValidator.Addstopped being called in 582c1a2, so SSH remotes always gothttp://Notes
en_USstrings were added.Text.BranchCM.CreatePRnow takes two arguments (Create PR: ${0}$ → ${1}$...). Other locales keep showing their existing "Create PR..." text until translated.Remote.TryGetCreatePullRequestURLis replaced byModels.PullRequestPlatform.