View “raw” diff on Github
By Roman Pertl
Viewing a “raw” diff in Github is easy – if you know how.
If you are viewing a commit on github the URL looks something like this:
https://github.com/voxpupuli/puppet-php/commit/50e1c1733a931dd3d9d21db8a4f584c9984100d1
Adding “.diff” to the URL will generate the raw diff for you which you can pipe to patch etc. The full URL is:
https://github.com/voxpupuli/puppet-php/commit/50e1c1733a931dd3d9d21db8a4f584c9984100d1.diff