Generate a git patch for a specific commit

Emmanuel Tissera's photo
Emmanuel Tissera
·Sep 13, 2017·

1 min read

Generate a git patch for a specific commit

Photo by Reproductive Health Supplies Coalition on Unsplash

I seem to be coming back to this set of directives whenever I need to apply a patch. Thought I'd keep it somewhere handy.

Source: https://stackoverflow.com/questions/6658313/generate-a-git-patch-for-a-specific-commit (first answer)


This article was originally written on Google's Blogger platform and ported to Hashnode on 17 Sep 2022.

 
Share this