On Thu, Aug 28, 2025 at 9:11 PM Fabrice Chapuis <fabrice636861@gmail.com> wrote: > > What is the procedure to create this patch. Thank you for your help. >
We use 'git format-patch' to generate formatted patches. I have given a few links ([1],[2],[3)] on know-how.
I usually use these steps:
git add <file1.c> <adds file to staging area> git add <file2.c> <once all the required files are added, create a commit> git commit <add the required message to describe the patch> git format-patch -1 -v1 <create the patch> -1-> to create patch for last 1 commit -v1 --> patch-prefix. I have used v1 which indicates version-1, when we upload the patch a second time, we can use -v2 and so on.