Generate a git patch for a specific commit

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.

0
Subscribe to my newsletter

Read articles from Emmanuel Tissera directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Emmanuel Tissera
Emmanuel Tissera

Technical Director at Luminary. Umbraco 3x MVP.