As Matthias said, edit and commit your changes in a different branch.

On 01/05/09 14:56 +0200, Matthias Kaehlcke wrote:
> # edit and commit your changes ...
> 
> # generate the emails

However, instead of just formatting the patch like so:
> git format-patch <options>

You can actually format the patches and send the emails simultaneously. This
can work if you have imap set up in your `.gitconfig` in your home directory.

`git format-patch -C --stdout origin/master | git imap-send`

This is what the imap section of my `.gitconfig` looks like for my Gmail acct.
I'm sure this is a usable template for other imap providers.

    [imap]
      folder = "[Gmail]/Drafts"
      host = imaps://imap.gmail.com
      user = <username>@gmail.com
      pass = <password>
      port = 993
      sslverify = false

Or you can disregard the pipe and send the patches via your favorite email
client.

`git format-patch -C origin/master`
`mutt -H 0001*.patch`

Best,
Dan

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to