Skip to content

Instantly share code, notes, and snippets.

@hexaflexahexagon
Created September 29, 2023 12:41
Show Gist options
  • Save hexaflexahexagon/e4e94ba8f2c384d82021f49e2a01e02b to your computer and use it in GitHub Desktop.
Save hexaflexahexagon/e4e94ba8f2c384d82021f49e2a01e02b to your computer and use it in GitHub Desktop.
1. `git format-patch -1 <HASH>` to create the patch

Patches

  1. git format-patch -1 <HASH> to create the patch 1a. Or, use the gpat alias which does this same thing
  2. git apply <patch-name-here> to add changes to local machine
  3. gad && gic && gip to create and push new commits from those changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment