Skip to content

How to send the patches

Howard Chen edited this page Mar 21, 2016 · 6 revisions

How to send the patches?

Become a developer

Git commit your modification

Generate the patches by git format-patch

$>git fetch origin
$>git rebase origin/master
$>mkdir -p patch
$>git format-patch -o patch origin/master

Config the mail server to use

$>vi ~/.gitconfig
# Add following lines
	smtpencryption = tls
	smtpserver =
	smtpuser = $YOUR_EMAIL 
	smtpserverport = 587
	suppresscc = self

Send the patches

git send-email --annotate --to --to patch/*