$ git config –global sendemail.smtpuseryour-email-address@gmail.com $ git config –global sendemail.smtppass your-email-password $ git config –global sendemail.smtpencryption tls $ git config –global sendemail.smtpserverport 587 “` 4. 发送电子邮件:运行以下命令发送电子邮件:`git send-email –...
首先,你需要在本地安装和设置Git的邮件工具。常用的Git邮件工具有Git Send-email和Mutt。 –Git Send-email:Git自带的邮件工具,用于发送Git patch。 要使用Git Send-email发送邮件,你需要先配置发件人的姓名和邮件地址: “` $ git config –global user.name “Your Name” $ git config –global user.email ...
[sendemail]smtpEncryption=tls smtpServer=smtp.gmail.com smtpUser=yourname@gmail.com smtpServerPort=587 如果您的 gmail 帐户有多因素身份验证设置,则需要生成特定于应用程序的密码以供使用git send-email。访问https://security.google.com/settings/security/apppasswords以设置应用专用密码。安装完成后,您可以使用...
Use gmail as the smtp server To usegit send-emailto send your patches through the GMail SMTP server, edit ~/.gitconfig to specify your account settings: [sendemail] smtpEncryption = tls smtpServer = smtp.gmail.com smtpUser = yourname@gmail.com smtpServerPort = 587 If you have multi-fact...
smtpServerPort: smtpServerPort is the email service port to use for mail relay Note that the example above assumes you want to relay your Git emails through your gmail account. If you use a different email service, you'll need to determine the correct values to use. In addition, there ar...
这是我第一次发送patch给kernel,虽然仅仅是一个test的patch,但我也觉着很新奇,这也是自己的一个小小的进步。 如下是从各种网站上学到的如何发送patch的总结。 1 2 3 4 5 6 7 8 9 1. Create gmail account. 2. Install git on ubuntu https://www.digitalocean.com/community/tutorials/how-to-install-git...
Send emails even if safety checks would prevent it. EXAMPLE Use gmail as the smtp server To usegit send-emailto send your patches through the GMail SMTP server, edit ~/.gitconfig to specify your account settings: [sendemail] smtpencryption = tls smtpserver = smtp.gmail.com smtpuser = your...
1. git send-email is included in an individual package, named "git-email": $ sudo apt-get install git-email 2. Configure the SMTP server info after the installation: $ git config --global sendemail.smtpserver smtp.gmail.com $ git config --global sendemail.smtpserverport 587 ...
To useto send your patches through the GMail SMTP server, edit ~/.gitconfig to specify your account settings: If you have multifactor authentication setup on your gmail account, you will need to generate an app-specific password for use withgit send-emailhttps://security.google.com/settings/...
smtpUser = yourname@gmail.com smtpServerPort = 587 If you have multi-factor authentication set up on your Gmail account, you will need to generate an app-specific password for use withgit send-email. Visithttps://security.google.com/settings/security/apppasswordsto create it. ...