Get a patch file from a github commit

Writing this mostly so I don’t forget.

Let’s say you want a patch file of a particular commit, for example: https://github.com/bardic/StalkCoin/commit/8789de6bd0db33fb6622f4a25438b74d6b9317ec

Append .patch to the end of that ( https://github.com/bardic/StalkCoin/commit/8789de6bd0db33fb6622f4a25438b74d6b9317ec.patch ) and you have yourself a patch file!

Source: http://chem-bla-ics.blogspot.ca/2011/01/github-tip-download-commits-as-patches.html

  1. No comments yet.

  1. No trackbacks yet.