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 it locally. How do you test a patch in a clean working copy?
A) Commit the patch because the pre-commit hook will abort the commit if any hotfix causes an issue
B) Run the command git apply m2-hotfixes/extension-fix.patch Run the command git apply
C) Run the command bin/magento setup:hotfix:apply --patch=m2-hotfixes/extension-fix.patch Run the command bin/magento setup:hotfix:apply --patch=m2-hotfixes/extension-fix.patch
D) Configure a deploy hook in .magento.app.yaml that executes vendor/bin/ece-tools hotfix:apply --dry-run Configure a deploy hook in .magento.app.yaml that executes vendor/bin/ece-tools hotfix:apply --dry-run
Correct Answer:
Verified
Q17: Your team is working on two major
Q18: You are reviewing a third party extension
Q19: You need to disable a module on
Q20: You are migrating an existing Magento 2
Q21: A merchant states the downtime during the
Q23: You upgraded an integration branch in your
Q24: You need to specify the admin password
Q25: You need to increase the Admin Session
Q26: You want to exclude some themes from
Q27: The merchant wants to offer specific pricing
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents