git-paste(1)

git-paste1

Send patches to pastebin for chat conversations

Usage

git-paste <git format-patch options>

Overview

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 https://manpages.debian.org/pastebinit 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

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

Author

Written by Paul Wise <[email protected]>

Reporting bugs

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

From git-extras 7.3.0-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.