diff --git a/bin/git-pull-request b/bin/git-pull-request index 3e52a0e..5787da1 100755 --- a/bin/git-pull-request +++ b/bin/git-pull-request @@ -72,7 +72,7 @@ echo if [ -z "$base" ] then - base="master" + base="$(git_extra_default_branch)" fi body=$(json "$title" "$body" "$branch" "$base") @@ -82,4 +82,4 @@ curl \ -H "Accept: application/vnd.github.v3+json" \ -H "Authorization: token $github_personal_access_token" \ -H "X-GitHub-OTP: $mfa_code" \ - "https://api.github.com/repos/$project/pulls" -d "$body" \ No newline at end of file + "https://api.github.com/repos/$project/pulls" -d "$body"