Skip to content

Patch Info #13

@athai

Description

@athai

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 patch
  • git apply --stat [patch_name] will show you the stats of what the patch will do
  • git 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 (run git log to see the sign off tag)

Be sure that commits have been made (preferably in a clean branch) before creating the patch!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions