Last active
September 7, 2015 08:02
-
-
Save oldsharp/0a66f255ff04f785ea7e to your computer and use it in GitHub Desktop.
git-format-patch example script
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
# This example will tell git-format-patch to prepare patches for Alpine | |
git format-patch -M \ | |
--no-cover-letter \ | |
--in-reply-to="<alpine.DEB.2.20.1509071424250.21394@jagger>" \ | |
--thread=shallow \ | |
--from="Ray Chen <oldsharp@gmail.com>" \ | |
--to="Ray Chen <oldsharp@163.com>" \ | |
--cc="Ray Chen <oldsharp@gmail.com>" \ | |
--add-header="MIME-Version: 1.0" \ | |
--add-header="Content-Type: text/plain; charset=UTF-8" \ | |
--add-header="Content-Transfer-Encoding: 8bit" \ | |
-o ~/mail/drafts/ray/ \ | |
sandbox..d832736 | |
# This example will tell git-format-patch to prepare patches for git-send-email | |
git format-patch -M -o ~/mail/drafts/ray/ sandbox..d832736 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment