======== git patch A- Create new branch fix the changes After fix add & commit now create the patch with in the patch directory Now i am at patch branch & compare the changes to master branch command : git format-patch master -o patches patches/ : in this folder create the patch files Examples1 : git format-patch TARGET_BRANCH -o PATCH_FOLDER/ Lets suppose we are in patch branch and i do 5 commits to this branch, now to create the patch we will match the code to the traget branch like master in our case, so all the codes which is present in patch branch & not availbale in master branch would be create as patch files, 1 commit for 1 patch. i.e we do 5 commits so 5 commit files will be generated, Here: -o reprents to store the patch as a directory and specify the director name Example 2 : Single patch file based on commit id Lets consider the above example, but now i need only one commit changes instead of all, so first check...
Trying to Learn new things on drupal.