单个文件中的Git格式补丁输出

Luc*_*cas 4 git

如何将命令格式补丁的输出定向到单个文件?

Jim*_*mes 5

--stout>文件名

  • 如果您使用 Powershell,请注意这一点,[因为它会导致您的补丁以 UCS-2 编码编写,而 `git apply` 无法理解](http://stackoverflow.com/questions/13675782/git -shell-in-windows-patchs-default-character-encoding-is-ucs-2-little-endian)。 (2认同)