What is Nostr?
Jan Schaumann /
npub1kvy…edh2
2024-02-29 02:48:19

Jan Schaumann on Nostr: TIL: You can easily download a plain text diff from a #GitHub pull request by simply ...

TIL: You can easily download a plain text diff from a #GitHub pull request by simply adding ".patch" to the base URL of the PR.

So to patch your local tree from an unmerged PR, you can

curl -L -s https://github.com/<org>/<repository>/pull/<num>.patch | patch
Author Public Key
npub1kvy8enal7npw9ct28tc53d4r5fl7q7a3ua3gku22z8jlyec37f3snmedh2