How to direct the output of the command format-patch to a single file?
Asked
Active
Viewed 3,222 times
2 Answers
10
--stdout > filename
Jimmy2Times
- 643
- 5
- 11
-
4Be careful of this if you're using Powershell, [as it will cause your patch to be written in UCS-2 encoding which `git apply` doesn't understand](http://stackoverflow.com/questions/13675782/git-shell-in-windows-patchs-default-character-encoding-is-ucs-2-little-endian). – Ian Kemp Jun 27 '16 at 12:49