How do you test a patch in a clean working copy?

You fixed an issue in a third-party extension using a patch named m2-hotfixes/extension-fix.patch Before committing the patch to the repository you want to test itlocally

How do you test a patch in a clean working copy?
A . Commit the patch because the pre-commit hook will abort the commit it any hotfix causes an issue
B . Run the command git apply m2-hotfixea/extension-fix.patch
C . Run the command bin/magento setup:hotfix:apply –patch=m2-hctfixes/extension-fix.patch
D . Configure a deploy hook in .magento.app.yaml that executes vendor/bin/ece-tools hotfix:apply ―dry-run

Answer: B

Latest AD0-E706 Dumps Valid Version with 60 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments