I need to get patch file for inital commit (which is not empty) for our review process, but I'm confused as git format-patch
command only makes it from branch that is on initial commit not including it.
Seems it must be some obvious move but I'm completely missing it.
You can use Commands -> Format patch. In the window that pops up, you can select multiple commits. The result will be one patch file per commit. That's in line with the default behavior of git format-patch .
Try git format-patch --root $SHA
(where $SHA
is that first commit)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With