From 85e1c4ff0af23964dd412991fb594094790a0b55 Mon Sep 17 00:00:00 2001 From: vyas <10957095+v-y-a-s@users.noreply.github.com> Date: Wed, 5 Aug 2020 16:53:36 +0530 Subject: [PATCH] Update doc --- man/git-pull-request.1 | 37 +++++++++++++++---------------------- man/git-pull-request.html | 23 +++++++++++++++-------- man/git-pull-request.md | 9 ++++++++- 3 files changed, 38 insertions(+), 31 deletions(-) diff --git a/man/git-pull-request.1 b/man/git-pull-request.1 index 2d8190e..cba668d 100644 --- a/man/git-pull-request.1 +++ b/man/git-pull-request.1 @@ -1,30 +1,28 @@ -.\" generated with Ronn/v0.7.3 -.\" http://github.com/rtomayko/ronn/tree/0.7.3 -. -.TH "GIT\-PULL\-REQUEST" "1" "November 2017" "" "Git Extras" -. +.\" generated with Ronn-NG/v0.8.0 +.\" http://github.com/apjanke/ronn-ng/tree/0.8.0 +.TH "GIT\-PULL\-REQUEST" "1" "August 2020" "" "Git Extras" .SH "NAME" \fBgit\-pull\-request\fR \- Create pull request for GitHub project -. .SH "SYNOPSIS" \fBgit\-pull\-request\fR [] -. .SH "DESCRIPTION" Create pull request for a project on GitHub via command line\. -. .P Uses the email from \fBgit config user\.email\fR to open the pull request\. -. +.P +Personal access token is required for making API call to open the pull request\. +.P +Makre sure the personal access token has the right \fBOAuth\fR scopes for the repo(s) +.P +use \fBgit config \-\-global \-\-add git\-extras\.personal\-access\-token \fR +.P +if using mutiple accounts, override the global value in the specific repo using \fBgit config git\-extras\.personal\-access\-token \fR .SH "OPTIONS" -. .P The target branch you want to send pull request to\. -. .SH "EXAMPLES" -. .nf - $ git pull\-request master Everything up\-to\-date @@ -35,16 +33,11 @@ Everything up\-to\-date base [master]: GitHub two\-factor authentication code (leave blank if not set up): -Enter host password for user \'spacewanderlzx@gmail\.com\': -\.\.\. -. +\|\.\|\.\|\. .fi -. .SH "AUTHOR" -Written by Tj Holowaychuk <\fItj@vision\-media\.ca\fR> -. +Written by Tj Holowaychuk <\fI\%mailto:tj@vision\-media\.ca\fR> .SH "REPORTING BUGS" -<\fIhttps://github\.com/tj/git\-extras/issues\fR> -. +<\fI\%https://github\.com/tj/git\-extras/issues\fR> .SH "SEE ALSO" -<\fIhttps://github\.com/tj/git\-extras\fR> +<\fI\%https://github\.com/tj/git\-extras\fR> diff --git a/man/git-pull-request.html b/man/git-pull-request.html index 0eba0c9..17f069c 100644 --- a/man/git-pull-request.html +++ b/man/git-pull-request.html @@ -1,8 +1,8 @@ - - + + git-pull-request(1) - Create pull request for GitHub project