Created
November 17, 2020 05:49
-
-
Save jayachandraoggy/f48bf4eae6cf463aec267bc208470b78 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Step 1: | |
File to changed should be added to the git | |
git add -f vendor/dotmailer/dotmailer-magento2-extension/Api/Data/CouponAttributeInterface.php | |
Step 2: | |
Then make the changes to the core file | |
Step 3: | |
After making the changes run | |
git diff vendor/dotmailer/dotmailer-magento2-extension/Api/Data/CouponAttributeInterface.php > m2-hotfixes/webapi-fix.patch | |
This creates the patch in m2-hotfixes | |
Step4: | |
Finally apply the patch | |
git apply m2-hotfixes/webapi-fix.patch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment