문제

I have made changes in,

Magento/vendor/magento/module-checkout/Model/PaymentInformationManagement.php

I have made changes in above file, But how can I commit these changes and PUSH it to Magento cloud as it will not show in git diff.

Any idea how to push changes of vendor DIR files on Magento Cloud ?

Note : I don't want to override in my app directory as it is bug and I want fix it in direct file.

도움이 되었습니까?

해결책

Changing file(s) in vendor directly is not a best practice. It's better if you create a patch for the changes, and apply the patch in your Magento Cloud.

To better understanding on how to create and apply patch, see this link.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top