Formating and sending patches away

Hello everybody,

How to format patches and send them away?
It's just a couple of commands. Let's see how?

First of all you need to commit local changes to your local development branch. So let's do it:

$ git-status$ git-add   ... 

Now, we need to check out the logs:

$ git-log

And get the commit id just before our first commit. And then we type:

$ git-format-patch -o patches_to_send  .. HEAD

This will put all our patch series into patches_to_send/ directory. Now we can send them away.
Just issue:

$ git-send-email --to list@domain.com \--from "My Name " patches_to_send

This will send all the patches in patches_to_send/ directory.

In the next post, we're gonna learn to update our tree (and all our local branches) and track our pending patches.

See y'all

VN:F [1.9.0_1079]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.0_1079]
Rating: 0 (from 0 votes)

Leave a Reply