diff --git a/man/git-extras.md b/man/git-extras.md index 788653d..1acaffe 100644 --- a/man/git-extras.md +++ b/man/git-extras.md @@ -60,6 +60,7 @@ git-extras(1) -- Awesome GIT utilities - **git-missing(1)** Show commits missing from another branch - **git-mr(1)** Checks out a merge request locally - **git-obliterate(1)** rewrite past commits to remove some files + - **git-paste(1)** Send patches to pastebin for chat conversations - **git-pr(1)** Checks out a pull request locally - **git-psykorebase(1)** Rebase a branch with a merge commit - **git-pull-request(1)** Create pull request for GitHub project diff --git a/man/git-paste.1 b/man/git-paste.1 new file mode 100644 index 0000000..1466e6c --- /dev/null +++ b/man/git-paste.1 @@ -0,0 +1,43 @@ +.\" generated with Ronn-NG/v0.8.0 +.\" http://github.com/apjanke/ronn-ng/tree/0.8.0 +.TH "GIT\-PASTE" "1" "September 2019" "" "Git Extras" +.SH "NAME" +\fBgit\-paste\fR \- Send patches to pastebin for chat conversations +.SH "SYNOPSIS" +\fBgit\-paste\fR +.SH "DESCRIPTION" +Send patches to pastebin for chat conversations using pastebinit\. The syntax highlighting will be set to \'diff\'\. +.SH "OPTIONS" + +.P +All options are passed directly to \fBgit format\-patch\fR\. Given no arguments, \fBgit\-paste\fR passes \fB@{u}\fR to \fBgit format\-patch\fR\. +.SH "CONFIGURATION" +The pastebinit software chooses the most appropriate pastebin site for your operating system and the pastebinit documentation \fI\%https://manpages\.debian\.org/pastebinit\fR contains details of how to configure it to use a different site\. +.SH "EXAMPLES" +Pastebin the patches between the current branch and its upstream: +.IP "" 4 +.nf +$ git paste +$ git paste @{u} +.fi +.IP "" 0 +.P +Pastebin the latest commit: +.IP "" 4 +.nf +$ git paste \-1 +.fi +.IP "" 0 +.P +Pastebin the latest three commits: +.IP "" 4 +.nf +$ git paste \-3 +.fi +.IP "" 0 +.SH "AUTHOR" +Written by Paul Wise <\fI\%mailto:pabs3@bonedaddy\.net\fR> +.SH "REPORTING BUGS" +<\fI\%https://github\.com/tj/git\-extras/issues\fR> +.SH "SEE ALSO" +<\fI\%https://github\.com/tj/git\-extras\fR> diff --git a/man/git-paste.html b/man/git-paste.html new file mode 100644 index 0000000..978c679 --- /dev/null +++ b/man/git-paste.html @@ -0,0 +1,139 @@ + + + + + + git-paste(1) - Send patches to pastebin for chat conversations + + + + +
+ + + +
    +
  1. git-paste(1)
  2. +
  3. Git Extras
  4. +
  5. git-paste(1)
  6. +
+ + + +

NAME

+

+ git-paste - Send patches to pastebin for chat conversations +

+

SYNOPSIS

+ +

git-paste <git format-patch options>

+ +

DESCRIPTION

+ +

Send patches to pastebin for chat conversations using pastebinit. + The syntax highlighting will be set to 'diff'.

+ +

OPTIONS

+ +

<git format-patch options>

+ +

All options are passed directly to git format-patch. + Given no arguments, git-paste passes @{u} to git format-patch.

+ +

CONFIGURATION

+ +

The pastebinit software chooses the most appropriate pastebin site + for your operating system and the pastebinit documentation + contains details of how to configure it to use a different site.

+ +

EXAMPLES

+ +

Pastebin the patches between the current branch and its upstream:

+ +
$ git paste
+$ git paste @{u}
+
+ +

Pastebin the latest commit:

+ +
$ git paste -1
+
+ +

Pastebin the latest three commits:

+ +
$ git paste -3
+
+ +

AUTHOR

+ +

Written by Paul Wise <pabs3@bonedaddy.net>

+ +

REPORTING BUGS

+ +

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

+ +

SEE ALSO

+ +

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

+ +
    +
  1. +
  2. September 2019
  3. +
  4. git-paste(1)
  5. +
+ +
+ + diff --git a/man/index.txt b/man/index.txt index f4ab5c0..8b7bac4 100644 --- a/man/index.txt +++ b/man/index.txt @@ -39,6 +39,7 @@ git-merge-repo(1) git-merge-repo git-missing(1) git-missing git-mr(1) git-mr git-obliterate(1) git-obliterate +git-paste(1) git-paste git-pr(1) git-pr git-psykorebase(1) git-psykorebase git-pull-request(1) git-pull-request