git-paste
- Send patches to pastebin for chat conversations
git-paste
<git format-patch options>
Send patches to pastebin for chat conversations using pastebinit. The syntax highlighting will be set to 'diff'.
<git format-patch options>
All options are passed directly to git format-patch
.
Given no arguments, git-paste
passes @{u}
to git format-patch
.
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.
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
Written by Paul Wise <pabs3@bonedaddy.net>
<https://github.com/tj/git-extras/issues>
<https://github.com/tj/git-extras>