Last active
November 10, 2017 10:50
-
-
Save szeidler/12da0e9667829f6b8d4e to your computer and use it in GitHub Desktop.
Drupal git patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Normal patch. | |
git diff --staged 7.x-1.x > [project_name]-[short-description]-[issue-number]-[comment-number].patch | |
# Interdiff patch. | |
git diff --staged old_patch_branch > interdiff-[issue-number]-[old-patch-comment-number]-[comment-number].diff.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment