用 gmail 作为发送服务器。
为了用git send-email通过gmail服务器发送patch。首先编辑 ~/.gitconfig , 写入你的账号配置
[sendemail]
smtpencryption = tls
smtpserver = smtp.gmail.com
smtpuser = yourname@gmail.com
smtpserverport = 587
配置完成后,用下面的命令发送
git add the-modified-files
git commit
$ edit outgoing/0000-*
$ git send-email outgoing/* --to netdev@....
本文介绍如何配置Git以通过Gmail服务器发送补丁文件。主要内容包括编辑~/.gitconfig文件来设置SMTP服务器参数,并使用git format-patch及git send-email命令完成补丁的打包与发送。
4174

被折叠的 条评论
为什么被折叠?



