Github has a compare feature that can be used to compare changes across different forks. e.g. How can I diff two branches in GitHub?
Question: how can I download the result of such a compare as a patch file?
Thanks,
Github has a compare feature that can be used to compare changes across different forks. e.g. How can I diff two branches in GitHub?
Question: how can I download the result of such a compare as a patch file?
Thanks,
You can add .patch
to the end of the URL. An example Compare page:
https://github.com/github/linguist/compare/9693336...1bbcfa5
and its formatted patch:
https://github.com/github/linguist/compare/9693336...1bbcfa5.patch