Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
GIT-PULL-REQUEST(1)		   Git Extras		     GIT-PULL-REQUEST(1)

NAME
     git-pull-request - Create pull request for GitHub project

SYNOPSIS
     git-pull-request [<target branch>]

DESCRIPTION
     Create pull request for a project on GitHub via command line.

     A	personal  access  token  is required for making the API call to open the
     pull     request(s)     in     GitHub.	API	 Documentation	    here
     https://docs.github.com/en/rest/reference/pulls#create-a-pull-request

     Make  sure  the  personal	access	token has the right OAuth scopes for the
     repo(s)

     Use GITHUB_TOKEN environment variable, or git config --global --add git-ex-
     tras.github-personal-access-token <your-personal-access-token>

     If using multiple accounts, override the global value in the specific  repo
     using  git  config  git-extras.github-personal-access-token <other-acc-per-
     sonal-access-token>

OPTIONS
     <target branch>

     The target branch you want to send pull request to.

EXAMPLES
     $ git pull-request master
     Everything up-to-date

       create pull-request for spacewander/spacewander-toolbox 'master'

       title: test
       body:
       base [master]:
       GitHub two-factor authentication code (leave blank if not set up):

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

REPORTING BUGS
     <https://github.com/tj/git-extras/issues>

SEE ALSO
     <https://github.com/tj/git-extras>

				   August 2020		     GIT-PULL-REQUEST(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=git-pull-request&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help