cancel
Showing results for 
Search instead for 
Did you mean: 

Reverting a Magento 2 Debug Patch via composer

Reverting a Magento 2 Debug Patch via composer

Magento support has provided me with a debug patch to collect data for a support request, which they have instructed me to install and then revert.

 

Installing the patch goes just fine, however, I cannot find any instructions on how to revert a patch via composer. The only method they provide is through git, but we do not have it set up on our environment.

 

Is there a way to revert a patch via composer?

1 REPLY 1

Re: Reverting a Magento 2 Debug Patch via composer

Thankfully it’s not that difficult. The easiest way is to follow the steps you used to originally apply the patch, but this time using ‘ -R’ at the end of the command.

sh patch-file-name.sh -R