Skip to content

Instantly share code, notes, and snippets.

@peterjaap
Created April 1, 2019 08:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterjaap/13e0268f198fb938f666e85eb0644879 to your computer and use it in GitHub Desktop.
Save peterjaap/13e0268f198fb938f666e85eb0644879 to your computer and use it in GitHub Desktop.
Oneliner to quickly diff a re-ordered Magento 2 config.php file
git diff app/etc/config.php > temp; diff -wB <(sort temp) <(git show HEAD:temp | sort -); rm temp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment