Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create the patch file for newly added files using source tree

I want to create the patch file for newly added files in Git using source tree. I've created the same using create patch option in Actions menu. But the patch is showing empty and unable to find the newly added file information in the patch.

How do I create the patch for newly added files in the source tree?

like image 820
Veswanth Avatar asked Sep 12 '25 05:09

Veswanth


1 Answers

First stage the newly added files and then create a patch for those staged files. It will work.

like image 105
Veswanth Avatar answered Sep 13 '25 22:09

Veswanth