{"type":"rich","version":"1.0","provider_name":"phorkie","provider_url":"https:\/\/p.cweiske.de\/","title":"git apply patch","author_name":"Christian Weiske","cache_age":86400,"width":900,"height":900,"html":"<!-- embedding all files of https:\/\/p.cweiske.de\/371 -->\n<link rel=\"stylesheet\" href=\"https:\/\/p.cweiske.de\/css\/embed.css\"\/>\n<div class=\"phork\" id=\"371\">\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  \n<div class=\"document\">\n\n\n<p>Thanks to <a class=\"reference external\" href=\"https:\/\/robots.thoughtbot.com\/send-a-patch-to-someone-using-git-format-patch\">Send A Patch To Someone Using &quot;git format-patch&quot;<\/a> I finally found out how to apply a patch with commit message:<\/p>\n<pre class=\"literal-block\">\n$ cat patchfile.diff | git am\n<\/pre>\n<\/div>\n\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/371\/rev-raw\/6dda9a9b6c63c71345b2e18a83c8a9346c1c9ac8\/README.rst\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/371#README.rst\">README.rst<\/a>\n <\/div>\n<\/div>\n<\/div>\n"}
