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/