Skip to content

Instantly share code, notes, and snippets.

View Raj1009's full-sized avatar

Raj Nath Raj1009

View GitHub Profile
@Raj1009
Raj1009 / getpatch.cmd
Created September 10, 2024 13:55 — forked from Rarst/getpatch.cmd
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