1GIT-PULL-REQUEST(1)               Git Extras               GIT-PULL-REQUEST(1)
2
3
4

NAME

6       git-pull-request - Create pull request for GitHub project
7

SYNOPSIS

9       git-pull-request [<target branch>]
10

DESCRIPTION

12       Create pull request for a project on GitHub via command line.
13
14       A personal access token is required for making the API call to open the
15       pull    request(s)    in     GitHub.     API     Documentation     here
16       https://docs.github.com/en/rest/reference/pulls#create-a-pull-request
17
18       Make  sure the personal access token has the right OAuth scopes for the
19       repo(s)
20
21       Use git config --global  --add  git-extras.github-personal-access-token
22       <your-personal-access-token>
23
24       If  using  multiple accounts, override the global value in the specific
25       repo   using   git    config    git-extras.github-personal-access-token
26       <other-acc-personal-access-token>
27

OPTIONS

29       <target branch>
30
31       The target branch you want to send pull request to.
32

EXAMPLES

34       $ git pull-request master
35       Everything up-to-date
36
37         create pull-request for spacewander/spacewander-toolbox ´master´
38
39         title: test
40         body:
41         base [master]:
42         GitHub two-factor authentication code (leave blank if not set up):
43
44

AUTHOR

46       Written by Tj Holowaychuk <tj@vision-media.ca>
47

REPORTING BUGS

49       <https://github.com/tj/git-extras/issues>
50

SEE ALSO

52       <https://github.com/tj/git-extras>
53
54
55
56                                  August 2020              GIT-PULL-REQUEST(1)
Impressum