Skip to content

Instantly share code, notes, and snippets.

@Rarst
Last active September 10, 2024 13:55
Show Gist options
  • 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
@CESSABITT
Copy link

hhjh

@Raj1009
Copy link

Raj1009 commented Sep 10, 2024

Good

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