Patchwork: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(contrib/patchwork/pw-am.sh) |
||
Line 5: | Line 5: | ||
git commit --amend | git commit --amend | ||
to edit the commit message before you push. | to edit the commit message before you push. | ||
You could also use the script in contrib/patchwork/pw-am.sh this script will fetch an 'mbox' patch from patchwork and git am it | |||
usage: pw-am.sh <number> | |||
example: 'pw-am.sh 221' will get the patch from http://patchwork.openembedded.org/patch/221/ | |||
[[Category:Dev]] | [[Category:Dev]] | ||
[[Category:Community]] | [[Category:Community]] |
Revision as of 11:15, 20 January 2010
To apply a patch from the patchwork queue using Git, download the mbox file and apply it using
git am < file
If the submitter of the patch has not written the Subject of the email according to the OpenEmbedded policy for commit messages, then use
git commit --amend
to edit the commit message before you push.
You could also use the script in contrib/patchwork/pw-am.sh this script will fetch an 'mbox' patch from patchwork and git am it
usage: pw-am.sh <number> example: 'pw-am.sh 221' will get the patch from http://patchwork.openembedded.org/patch/221/