You'll need wget for this to work. On my Mac I use the one from Mac Ports.
Add the following line to your .profile (or the config file of whatever shell you use)
git config --global alias.applyurl '!wget -qO- $1 | git apply -'You should now have a new git command applyurl. Now open the bug with the patch you want to apply in your browser and copy the link of the patch. Finally you can on the command line, you can type
git applyurl [paste the url here]That's it.