Working with patches in Astroid - astroidmail/astroid GitHub Wiki
Applying a single patch
- Open the message
- Press
Y to yank the raw source of the message to the primary clipboard
- Open a terminal (or the drop-down terminal using
|)
- Navigate to the repository
- Apply the patch using
git am (or typically git am -3)
- Press
Shift-Insert to paste the patch into stdin
- Press
Ctrl-D to complete the paste
Applying a series of patches
- Open the thread
- Mark the messages containing patches using
t (or T to mark all)
- Press
; to apply an action to all marked messages
- Press
Y to create an mbox with a synthesis of the raw marked messages, this is stored on the clipboard
- Open a terminal (or the drop-down terminal using
|)
- Navigate to the repository
- Apply the patch using
git am (or typically git am -3)
- Press
Shift-Insert to paste the patch into stdin
- Press
Ctrl-D to complete the paste
Saving a series of patches for later merging
- Open the thread
- Mark the messages containing patches using
t (or T to mark all)
- Press
; to apply an action to all marked messages
- Press
s to save the marked messages individually to a desired directory
- Apply the patches using
git am
Applying an inline diff
- Open the message
- Press
y to yank the decoded message content to the primary clipboard
- Open a terminal (or the drop-down terminal using
|)
- Navigate to the repository
- Apply the patch using
git apply and Shift-Insert to paste the diff into stdin
- Press
Ctrl-D to complete the paste
Sending a revised series using git-send-email
- Open the original series or the e-mail you wish to reply to
- Press
Ctrl-y to yank the message-ID of the original message (this is now stored on the primary clipboard)
- Paste this to the
--in-reply-to= command line option for git-send-email using Shift-Insert in your terminal.