a sysadmin's life

View “raw” diff on Github

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:

Adding “.diff” to the URL will generate the raw diff for you which you can pipe to patch etc. The full URL is: