Skip to main content

How to apply the Magento 2 patches?

Most of Magento developer want to know exactly how they should apply the security patches on their websites

in this article we are going to talk about *.patch files

There are two ways to do this

1- using  git command

git apply patch_filename.patch

or

2- using patch command

patch -p1 < patch_filename.patch

 

I hope this will be useful for you