Skip to content

Instantly share code, notes, and snippets.

@tiagosampaio
Last active June 30, 2022 13:38
Show Gist options
  • Save tiagosampaio/b88faeacc73cbb81f0eba3f77e6414ce to your computer and use it in GitHub Desktop.
Save tiagosampaio/b88faeacc73cbb81f0eba3f77e6414ce to your computer and use it in GitHub Desktop.
Creating a Patches

Creating a Patch

Checking the diff

diff -Naur vendor/magento/module/original-file.php vendor/magento/module/modified-file.php

Creating a patch file

diff -Naur vendor/magento/module/original-file.php vendor/magento/module/modified-file.php > patch-file.patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment