Skip to main content
added 39 characters in body
Source Link
Abhishek Tripathi
  • 2.9k
  • 2
  • 21
  • 38

step1) Add the file you want to modify:: git add vendor/magento/module-customer/Block/CustomerData.php -f

step2) make changes to original file vendor/magento/module-customer/Block/CustomerData.php

step3) git diff vendor/magento/module-customer/Block/CustomerData.php > yourPatchName.patch

step3) you will get the patch file(yourPatchName.patch) in root directory

  1. Add the file you want to modify::

    git add vendor/magento/module-customer/Block/CustomerData.php -f

  2. make changes to the original file

    vendor/magento/module-customer/Block/CustomerData.php

  3. git diff

    vendor/magento/module-customer/Block/CustomerData.php > yourPatchName.patch

  4. you will get the patch file (yourPatchName.patch) in the root directory

  5. remove the changes you added to the original file manually by using ctrl+z

    vendor/magento/module-customer/Block/CustomerData.php

  6. apply the patch using::

    git apply yourPatchName.patch

step4) remove the changes you added to the original file(vendor/magento/module-customer/Block/CustomerData.php) manullay by using ctrl+z

step5) apply the patch using :: git apply yourPatchName.patch you will notice the changes in the original file

step1) Add the file you want to modify:: git add vendor/magento/module-customer/Block/CustomerData.php -f

step2) make changes to original file vendor/magento/module-customer/Block/CustomerData.php

step3) git diff vendor/magento/module-customer/Block/CustomerData.php > yourPatchName.patch

step3) you will get the patch file(yourPatchName.patch) in root directory

step4) remove the changes you added to the original file(vendor/magento/module-customer/Block/CustomerData.php) manullay by using ctrl+z

step5) apply the patch using :: git apply yourPatchName.patch you will notice the changes in original file

  1. Add the file you want to modify::

    git add vendor/magento/module-customer/Block/CustomerData.php -f

  2. make changes to the original file

    vendor/magento/module-customer/Block/CustomerData.php

  3. git diff

    vendor/magento/module-customer/Block/CustomerData.php > yourPatchName.patch

  4. you will get the patch file (yourPatchName.patch) in the root directory

  5. remove the changes you added to the original file manually by using ctrl+z

    vendor/magento/module-customer/Block/CustomerData.php

  6. apply the patch using::

    git apply yourPatchName.patch

you will notice the changes in the original file

added 53 characters in body
Source Link

step1) Add the file you want to modify:: git add vendor/magento/module-customer/Block/CustomerData.php -f

step2) make changes to original file vendor/magento/module-customer/Block/CustomerData.php

step3) git diff vendor/magento/module-customer/Block/CustomerData.php > yourPatchName.patch

step3) you will get the patch file(yourPatchName.patch) in root directory

step4) remove the changes you added to the original file(vendor/magento/module-customer/Block/CustomerData.php) manullay by using ctrl+z

step5) apply the patch using :: git apply yourPatchName.patch you will notice the changes in original file

step1) Add the file you want to modify:: git add vendor/magento/module-customer/Block/CustomerData.php -f

step2) make changes to original file

step3) git diff vendor/magento/module-customer/Block/CustomerData.php > yourPatchName.patch

step3) you will get the patch file(yourPatchName.patch) in root directory

step4) remove the changes you added to the original file(vendor/magento/module-customer/Block/CustomerData.php) manullay by using ctrl+z

step5) apply the patch using :: git apply yourPatchName.patch you will notice the changes in original file

step1) Add the file you want to modify:: git add vendor/magento/module-customer/Block/CustomerData.php -f

step2) make changes to original file vendor/magento/module-customer/Block/CustomerData.php

step3) git diff vendor/magento/module-customer/Block/CustomerData.php > yourPatchName.patch

step3) you will get the patch file(yourPatchName.patch) in root directory

step4) remove the changes you added to the original file(vendor/magento/module-customer/Block/CustomerData.php) manullay by using ctrl+z

step5) apply the patch using :: git apply yourPatchName.patch you will notice the changes in original file

added 12 characters in body
Source Link

step1) Add the file you want to modify:: git add vendor/magento/module-customer/Block/CustomerData.php -f

step2) make changes to original file

step3) git diff vendor/magento/module-customer/Block/CustomerData.php > yourPatchName.patch

step3) you will get the patch file(yourPatchName.patch) in root directory

step4) remove the changes you addadded to the original file(vendor/magento/module-customer/Block/CustomerData.php) manullay by using ctrl+z

step5) apply the patch using :: git apply yourPatchName.patch you will notice the changes in original file

step1) Add the file you want to modify:: git add vendor/magento/module-customer/Block/CustomerData.php -f

step2) make changes to original file

step3) git diff vendor/magento/module-customer/Block/CustomerData.php > yourPatchName.patch

step3) you will get the patch file(yourPatchName.patch) in root directory

step4) remove the changes you add to the file(vendor/magento/module-customer/Block/CustomerData.php) manullay by using ctrl+z

step5) apply the patch using :: git apply yourPatchName.patch you will notice the changes in original file

step1) Add the file you want to modify:: git add vendor/magento/module-customer/Block/CustomerData.php -f

step2) make changes to original file

step3) git diff vendor/magento/module-customer/Block/CustomerData.php > yourPatchName.patch

step3) you will get the patch file(yourPatchName.patch) in root directory

step4) remove the changes you added to the original file(vendor/magento/module-customer/Block/CustomerData.php) manullay by using ctrl+z

step5) apply the patch using :: git apply yourPatchName.patch you will notice the changes in original file

added 12 characters in body
Source Link
Loading
Source Link
Loading