From 34ba1eb08392173db6d4e2cce5c8b9890db34548 Mon Sep 17 00:00:00 2001 From: spacewander Date: Thu, 27 Aug 2020 11:03:06 +0800 Subject: [PATCH 1/2] fix typo --- man/git-bulk.1 | 4 ++-- man/git-bulk.html | 6 +++--- man/git-bulk.md | 2 +- man/git-pull-request.1 | 33 +++++++++++++++++++++++++-------- man/git-pull-request.html | 16 ++++++++-------- man/git-pull-request.md | 2 +- man/git-summary.1 | 14 +++++++------- man/git-summary.html | 18 +++++++++--------- man/git-summary.md | 14 +++++++------- 9 files changed, 63 insertions(+), 46 deletions(-) diff --git a/man/git-bulk.1 b/man/git-bulk.1 index 523b652..b1dc523 100644 --- a/man/git-bulk.1 +++ b/man/git-bulk.1 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "GIT\-BULK" "1" "December 2019" "" "Git Extras" +.TH "GIT\-BULK" "1" "August 2020" "" "Git Extras" . .SH "NAME" \fBgit\-bulk\fR \- Run git commands on multiple repositories @@ -69,7 +69,7 @@ Any git Command you wish to execute on the repositories\. Register a workspace for bulk operations\. All repositories in the directories below get registered under this workspace with the name \. must be absolute path\. . .P -With option \'\-\-from\' the URL to a single repository or a file containing multiple URLs can be added and they will be cloned diretly into the workspace\. Suitable for the initial setup of a multi\-repo project\. +With option \'\-\-from\' the URL to a single repository or a file containing multiple URLs can be added and they will be cloned directly into the workspace\. Suitable for the initial setup of a multi\-repo project\. . .P \-\-removeworkspace diff --git a/man/git-bulk.html b/man/git-bulk.html index 51cd757..c805fff 100644 --- a/man/git-bulk.html +++ b/man/git-bulk.html @@ -116,7 +116,7 @@ git bulk --listall

Register a workspace for bulk operations. All repositories in the directories below <ws-root-directory> get registered under this workspace with the name <ws-name>. <ws-root-directory> must be absolute path.

-

With option '--from' the URL to a single repository or a file containing multiple URLs can be added and they will be cloned diretly into the workspace. Suitable for the initial setup of a multi-repo project.

+

With option '--from' the URL to a single repository or a file containing multiple URLs can be added and they will be cloned directly into the workspace. Suitable for the initial setup of a multi-repo project.

--removeworkspace <ws-name>

@@ -183,7 +183,7 @@ $ git bulk --purge

AUTHOR

-

Written by Niklas Schlimm <ns103@hotmail.de>

+

Written by Niklas Schlimm <ns103@hotmail.de>

REPORTING BUGS

@@ -196,7 +196,7 @@ $ git bulk --purge
  1. -
  2. December 2019
  3. +
  4. August 2020
  5. git-bulk(1)
diff --git a/man/git-bulk.md b/man/git-bulk.md index 060f9e6..3ab51b0 100644 --- a/man/git-bulk.md +++ b/man/git-bulk.md @@ -40,7 +40,7 @@ git bulk adds convenient support for operations that you want to execute on mult Register a workspace for bulk operations. All repositories in the directories below <ws-root-directory> get registered under this workspace with the name <ws-name>. <ws-root-directory> must be absolute path. - With option '--from' the URL to a single repository or a file containing multiple URLs can be added and they will be cloned diretly into the workspace. Suitable for the initial setup of a multi-repo project. + With option '--from' the URL to a single repository or a file containing multiple URLs can be added and they will be cloned directly into the workspace. Suitable for the initial setup of a multi-repo project. --removeworkspace <ws-name> diff --git a/man/git-pull-request.1 b/man/git-pull-request.1 index 2c84717..b44859c 100644 --- a/man/git-pull-request.1 +++ b/man/git-pull-request.1 @@ -1,26 +1,39 @@ -.\" generated with Ronn-NG/v0.8.0 -.\" http://github.com/apjanke/ronn-ng/tree/0.8.0 +.\" generated with Ronn/v0.7.3 +.\" http://github.com/rtomayko/ronn/tree/0.7.3 +. .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 -A personal access token is required for making the API call to open the pull request(s) in GitHub\. API Documentation here \fI\%https://docs\.github\.com/en/rest/reference/pulls#create\-a\-pull\-request\fR +A personal access token is required for making the API call to open the pull request(s) in GitHub\. API Documentation here \fIhttps://docs\.github\.com/en/rest/reference/pulls#create\-a\-pull\-request\fR +. .P Make sure the personal access token has the right \fBOAuth\fR scopes for the repo(s) +. .P Use \fBgit config \-\-global \-\-add git\-extras\.github\-personal\-access\-token \fR +. .P -If using mutiple accounts, override the global value in the specific repo using \fBgit config git\-extras\.github\-personal\-access\-token \fR +If using multiple accounts, override the global value in the specific repo using \fBgit config git\-extras\.github\-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 @@ -31,11 +44,15 @@ Everything up\-to\-date base [master]: GitHub two\-factor authentication code (leave blank if not set up): -\|\.\|\.\|\. +\.\.\. +. .fi +. .SH "AUTHOR" -Written by Tj Holowaychuk <\fI\%mailto:tj@vision\-media\.ca\fR> +Written by Tj Holowaychuk <\fItj@vision\-media\.ca\fR> +. .SH "REPORTING BUGS" -<\fI\%https://github\.com/tj/git\-extras/issues\fR> +<\fIhttps://github\.com/tj/git\-extras/issues\fR> +. .SH "SEE ALSO" -<\fI\%https://github\.com/tj/git\-extras\fR> +<\fIhttps://github\.com/tj/git\-extras\fR> diff --git a/man/git-pull-request.html b/man/git-pull-request.html index 81cc512..fa5796e 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 - - - -
- - - -
    -
  1. git-back(1)
  2. -
  3. Git Extras
  4. -
  5. git-back(1)
  6. -
- -

NAME

-

- git-back - Undo and Stage latest commits -

- -

SYNOPSIS

- -

git-back [<commitcount>]

- -

DESCRIPTION

- -

Deprecated. Use 'git undo --soft [commitcount]' instead.

- -

Removes the latest commits, and add their changes to your staging area.

- -

OPTIONS

- -

<commitcount>

- -

Number of commits to remove. Defaults to 1, thus remove the latest commit.

- -

EXAMPLES

- -

Removes the latest commit.

- -
$ git back
-
- -

Remove the latest 3 commits:

- -
$ git back 3
-
- -

AUTHOR

- -

Written by Kenneth Reitz <me@kennethreitz.com>

- -

REPORTING BUGS

- -

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

- -

SEE ALSO

- -

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

- - -
    -
  1. -
  2. February 2020
  3. -
  4. git-back(1)
  5. -
- -
- - diff --git a/man/git-back.md b/man/git-back.md deleted file mode 100644 index 7cd2db6..0000000 --- a/man/git-back.md +++ /dev/null @@ -1,40 +0,0 @@ -git-back(1) -- Undo and Stage latest commits -============================================ - -## SYNOPSIS - -`git-back` [<commitcount>] - -## DESCRIPTION - - Deprecated. Use 'git undo --soft [commitcount]' instead. - - Removes the latest commits, and add their changes to your staging area. - -## OPTIONS - - <commitcount> - - Number of commits to remove. Defaults to *1*, thus remove the latest commit. - -## EXAMPLES - - Removes the latest commit. - - $ git back - - Remove the latest 3 commits: - - $ git back 3 - -## AUTHOR - -Written by Kenneth Reitz <> - -## REPORTING BUGS - -<> - -## SEE ALSO - -<> diff --git a/man/git-extras.1 b/man/git-extras.1 index d254789..561a99d 100644 --- a/man/git-extras.1 +++ b/man/git-extras.1 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "GIT\-EXTRAS" "1" "May 2020" "" "Git Extras" +.TH "GIT\-EXTRAS" "1" "August 2020" "" "Git Extras" . .SH "NAME" \fBgit\-extras\fR \- Awesome GIT utilities @@ -39,9 +39,6 @@ Self update\. \fBgit\-authors(1)\fR Generate authors report . .IP "\(bu" 4 -\fBgit\-back(1)\fR Undo and Stage latest commits -. -.IP "\(bu" 4 \fBgit\-browse(1)\fR \fIView the web page for the current repository\fR . .IP "\(bu" 4 diff --git a/man/git-extras.html b/man/git-extras.html index 21a5252..9688439 100644 --- a/man/git-extras.html +++ b/man/git-extras.html @@ -97,7 +97,6 @@
  • git-alias(1) Define, search and show aliases
  • git-archive-file(1) Export the current HEAD of the git repository to an archive
  • git-authors(1) Generate authors report
  • -
  • git-back(1) Undo and Stage latest commits
  • git-browse(1) View the web page for the current repository
  • git-brv(1) List branches sorted by their last commit date
  • git-bulk(1) Run git commands on multiple repositories
  • @@ -166,7 +165,7 @@

    AUTHOR

    -

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

    +

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

    REPORTING BUGS

    @@ -179,7 +178,7 @@
    1. -
    2. May 2020
    3. +
    4. August 2020
    5. git-extras(1)
    diff --git a/man/git-extras.md b/man/git-extras.md index 8fa0424..74921ca 100644 --- a/man/git-extras.md +++ b/man/git-extras.md @@ -24,7 +24,6 @@ git-extras(1) -- Awesome GIT utilities - **git-alias(1)** Define, search and show aliases - **git-archive-file(1)** Export the current HEAD of the git repository to an archive - **git-authors(1)** Generate authors report - - **git-back(1)** Undo and Stage latest commits - **git-browse(1)** - **git-brv(1)** List branches sorted by their last commit date - **git-bulk(1)** Run git commands on multiple repositories diff --git a/man/index.txt b/man/index.txt index 2f1fae2..f1ff782 100644 --- a/man/index.txt +++ b/man/index.txt @@ -2,7 +2,6 @@ git-alias(1) git-alias git-archive-file(1) git-archive-file git-authors(1) git-authors -git-back(1) git-back git-browse(1) git-browse git-brv(1) git-brv git-bulk(1) git-bulk diff --git a/need_git_commit b/need_git_commit index e2515d3..f6dbc84 100644 --- a/need_git_commit +++ b/need_git_commit @@ -1,7 +1,6 @@ # A list of the commands in alphabetical order that require has_git_commit(), # and should have it included in the "built" version of the command git-authors -git-back git-changelog git-commits-since git-count