-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
If you want to check it out, this blog gives a detailed breakdown of how to create and apply a patch. But TLDR, the key commands mentioned are:
git format-patch master --stdout > [name of patch]to create a patchgit apply --stat [patch_name]will show you the stats of what the patch will dogit apply --check [patch_name]will test the patch and print any errors that may occur- And finally,
git am --signoff < [patch_name]will app the patch with a sign off (rungit logto see the sign off tag)
Be sure that commits have been made (preferably in a clean branch) before creating the patch!