Download Github pull request as unified diff

Thilo picture Thilo · May 31, 2011 · Viewed 63.6k times · Source

How can I download the changes contained in a Github pull request as a unified diff?

Answer

Simone Carletti picture Simone Carletti · May 31, 2011

To view a commit as a diff/patch file, just add .diff or .patch to the end of the URL, for example: