LinuxCommandLibrary

git-paste

Send commits to a pastebin site using `pastebinit`.

TLDR

Send the patches between the current branch and its upstream to a pastebin using pastebinit

$ git paste
copy


Pass options to git format-patch in order to select a different set of commits (@^ selects the parent of HEAD, and so the currently checked out commit is sent)
$ git paste [@^]
copy

Copied to clipboard