git: Patch does not have a valid e-mail address
问题 I have a patch-file. I want to apply this patch to my code in git repository. When I used subversion this process was quite simple: right click -> tortoise svn -> apply patch. It always works as I expected. But I cannot do this using git. Git doesn't apply my patch. It complains about Patch does not have a valid e-mail address. So, my question is: "How apply patch file in this situation?" 回答1: Git created patches are meant to be applied with Git tools. Use git apply <patch> If the patch is