mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 15:36:21 -04:00
52 lines
1.1 KiB
Markdown
52 lines
1.1 KiB
Markdown
git-paste(1) -- 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](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
|
|
|
|
## 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>>
|