Use of [Linux] git send-email __linux

Source: Internet
Author: User

Http://www.cnblogs.com/0616--ataozhijia/p/3830698.html

1. Git send-email is included in a 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

It's ready for the top two.
$ git config--global sendemail.smtpencryption TLS
$ git config--global sendemail.smtpuser your mailbox

3. Start a new branch to does any dev work:
$ dev_branch=fix-warning-for-string-format
$ git Branch $dev _branch
$ git checkout $dev _branch
$ vim source.c
$ git Add source.c
$ git commit-s-M "ADD format strings for Bb_error_msg_and_die"

4. Format a patch and send it out to the receiver:
$ git format-patch-c-n master. $dev _branch
$ git send-email--compose--no-chain-reply-to--suppress-from--to kernel@kernel.org

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.