Skip to content

Instantly share code, notes, and snippets.

@Abby805
Last active December 6, 2022 15:44
Show Gist options
  • Save Abby805/27ae11815a79f330e84632b5a5c664ab to your computer and use it in GitHub Desktop.
Save Abby805/27ae11815a79f330e84632b5a5c664ab to your computer and use it in GitHub Desktop.
Generating patches via command line
# Generates patch file between two directories
git diff --no-index directoryOldVersion directoryNewVersion > some-file-name.patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment