Created
October 1, 2012 15:24
-
-
Save bradfa/3812485 to your computer and use it in GitHub Desktop.
Send some patches from git
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
git format-patch --cover-letter --subject-prefix="PATCH v2" -o <my_patch_dir_v2> foo..bar | |
Edit created files in <my_patch_dir> to add things like "Changes since vX" and to fill in patch 0/X info with title and summary. | |
git send-email <my_patch_dir_v2> | |
Only add --cover-letter if I want a PATCH 0/X first email which all following patches reply to. | |
Only add --subject-prefix if "[PATCH]" isn't the prefix I want. | |
Add --compose to send-email to spawn text editor to write some nice things if didn't use --cover-letter |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment