create git patch from previous commit Best solution is git diff MyRevisionNumber^! --relative > my.patch Wed, 05/28/2014 - 13:22 WebMaster Tags: gitblog Read more about create git patch from previous commit