git format-patch -1 <sha>
OR
git format-patch -1 HEAD
git apply --stat file.patch # show stats.
git apply --check file.patch # check for error before applying
| //Mime types. Some keys are duplicated. | |
| array( | |
| ".3dm"=>"x-world/x-3dmf", | |
| ".3dmf"=>"x-world/x-3dmf", | |
| ".a"=>"application/octet-stream", | |
| ".aab"=>"application/x-authorware-bin", | |
| ".aam"=>"application/x-authorware-map", | |
| ".aas"=>"application/x-authorware-seg", | |
| ".abc"=>"text/vnd.abc", |