GitHub : Download commit as patch

I was searching for this, to directly download commits as patches
And here is how it works

Say there is commit
https://github.com/pentaho/mondrian/commit/5b5dbac3bd430ee9600e3d4db13aada06564c230

and you want to get it as patch, then just simply add ".patch" at the last of the url and download it via wget or browser.
https://github.com/pentaho/mondrian/commit/5b5dbac3bd430ee9600e3d4db13aada06564c230.patch


That's All

No comments:

Post a Comment