GIT-PASTE(1)
π git-paste β bestie's guide to yeeting patches at a pastebin β¨
okay so git-paste is a lil command from Git Extras, and its whole personality is: take your patches, drop them on a pastebin, so you can paste that link into a chat and everyone can read your diff without you copy-pasting 400 lines into Discord. group-chat main character energy, fr fr. π
β¨ SYNOPSIS β¨
git-paste <git format-patch options>
π¦ DESCRIPTION π¦
She sends patches to a pastebin for chat conversations, using pastebinit under the hood. The syntax highlighting gets set to 'diff', so your patch actually looks like a patch and not like a wall of sad grey text. slay. π
π OPTIONS π
<git format-patch options>β all these options get passed STRAIGHT through togit format-patch. no filtering, no meddling, she just forwards them. and if you give her zero arguments? she hands@{u}togit format-patchfor you. cute of her, honestly. π«Ά
π CONFIGURATION π
so the pastebinit software is the one picking the pastebin site β it goes and chooses the most appropriate one for your operating system, iykyk. and if you wanna point it at a different site? the pastebinit docs have all the deets on how to configure that:
<https://manpages.debian.org/pastebinit>
πΈ EXAMPLES πΈ
Pastebin the patches between your current branch and its upstream β both of these do the same thing:
$ git paste
$ git paste @{u}
Pastebin just the latest commit:
$ git paste -1
Pastebin the latest three commits:
$ git paste -3
π AUTHOR π
Written by Paul Wise <pabs3@bonedaddy.net> β thank you king, we appreciate you. π
π₯ REPORTING BUGS π₯
found a bug? not the vibe. go tell them here:
<https://github.com/tj/git-extras/issues>
β SEE ALSO β
<https://github.com/tj/git-extras>
π reminder bestie: this is a GIT-PASTE(1) page from the Git Extras manual, dated May 2026. that's the whole thing. now go paste your patches and be iconic. periodt. βπ
π¦
π¦ where this page comes from
- ubuntu stonking: git-extras 7.5.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms