Skip to content

Instantly share code, notes, and snippets.

@Rarst
Last active September 20, 2023 14:00
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save Rarst/1d2e931004b0494255cbd335241c16d3 to your computer and use it in GitHub Desktop.
Save Rarst/1d2e931004b0494255cbd335241c16d3 to your computer and use it in GitHub Desktop.
Download a patch file from a GitHub branch. Arguments: repo name, branch name (e.g. `getpatch Rarst/wp-date trac-38771`).
curl https://github.com/%1/compare/master...%2.diff > patches/%2.diff
@mayank202080
Copy link

good

@shyankumavat
Copy link

as

@shyankumavat
Copy link

good

@CESSABITT
Copy link

hhjh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment