How to apply a git patch when given a pull number
问题 I downloaded a trunk version of a codebase from git, and there are build errors. Aparently a patch is now available, and I received an email : see https://github.com/JustinTulloss/zeromq.node/pull/47 for patch I am new to git so I'm not quite sure what to do with this 'patch' especially, since the page looks more like a discussion thread. Does anyone know how I can obtain/apply this patch to my locally cloned git repository? 回答1: Save the patch somewhere. If you're using linux you can use