Skip to content

Use git request-pull for PR Creation #4328

Closed
@navneetkarnani

Description

@navneetkarnani

**Is your feature request related to a problem? Please describe.✱
The "Create Pull Request" feature uses a fixed set of URL prefixes to check for support. A better strategy is ti use the git request-pull command https://git-scm.com/docs/git-request-pull

**Describe the solution you'd like✱
use the git request-pull command to generate the pull request instead of the fixed url prefix match.

**Describe alternatives you've considered✱
None

**Additional context✱
I work with multiple customers on my machine, and the SSH keys to be used there needs to be for the specific customer. Also, git needs to use the right config. So, in my ssh config file, I have a "c1.gh" and "c1.bitbucket" and "c2.gh" and "c2.gitlab" with different keys. This means the "c1.gh" actually maps to "github.com" but the ssh agent resolves that.

The use of the standard git request-pull will help work around these issues since the remote server will always give the right urls.

I know the command is not intended for this use case, but it does work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions