-
Notifications
You must be signed in to change notification settings - Fork 274
Configuring a custom Pull Request Provider
Michael Hutchison edited this page Feb 6, 2020
·
7 revisions
Custom Pull Request providers can be configured in addition to the built-in providers (Bitbucket, GitHub & GitLab), so that they can be used with the "Create Pull Request" Integration.
Extension Setting: git-graph.customPullRequestProviders
Format: An array of Pull Request providers. Each provider is comprised of:
-
name
: A unique, identifying, display name for the provider. -
templateUrl
: A template URL that can be used to create a Pull Request, after the$1
-$8
variables have been substituted to construct the final URL. The variables$1
-$8
are:-
$1
: Host Root URL -
$2
: Source Repository Owner -
$3
: Source Repository Name -
$4
: Source Repository Branch -
$5
: Destination / Target Repository Owner -
$6
: Destination / Target Repository Name -
$7
: Destination / Target Repository Branch
-
Example Value:
[
{
"name": "GitHub",
"templateUrl": "$1/$5/$6/compare/$7...$2:$4"
}
]
If you have any questions about the content of this page, or anything related to Git Graph, please chat with us on Discord!
General Information:
Release Information:
Contributing Information:
If you have any questions about Git Graph, please chat with us on Discord!