Getting a patch for a commit-Github

The easiest way is to click on the url and navigate to the page showing the diff. Then, add “.diff” to end of the url. Then wget the url.


URL of commit[/code]

Add .diff and use wget from shell:


You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.