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 to git format-patch. no filtering, no meddling, she just forwards them. and if you give her zero arguments? she hands @{u} to git format-patch for 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