Skip to main content
added 118 characters in body
Source Link
  • Cloud is not accepting to move vendor files to git.

  • So i created file in app/code folder like
    app/code/vendor/magento/module-customer/Block/CustomerData.php

  • added to git then committed. Not pushed the changes to any branch.

  • Then updated the modified code then executed the git diff command. git diff app/code/vendor/magento/module-customer/Block/CustomerData.php

  • It showed the below code. diff --git a/app/code/vendor/magento/module-customer/Block/CustomerData.php b/app/code/vendor/magento/module-customer/Block/CustomerData.php index 3ee2rd..8349152 111644 --- a/app/code/vendor/magento/module-customer/Block/CustomerData.php +++ b/app/code/vendor/magento/module-customer/Block/CustomerData.php

  • I copied that above code and added in customer.patch file then removed the app/code/ code.

  • uploaded the customer.patch file from hotfixes folder then moved to the git.

  • Then remove the file from app/code/vendor/magento/module-customer/Block/CustomerData.php location then commit again.

  • Cloud is not accepting to move vendor files to git.

  • So i created file in app/code folder like
    app/code/vendor/magento/module-customer/Block/CustomerData.php

  • added to git then committed. Not pushed the changes to any branch.

  • Then updated the modified code then executed the git diff command. git diff app/code/vendor/magento/module-customer/Block/CustomerData.php

  • It showed the below code. diff --git a/app/code/vendor/magento/module-customer/Block/CustomerData.php b/app/code/vendor/magento/module-customer/Block/CustomerData.php index 3ee2rd..8349152 111644 --- a/app/code/vendor/magento/module-customer/Block/CustomerData.php +++ b/app/code/vendor/magento/module-customer/Block/CustomerData.php

  • I copied that above code and added in customer.patch file then removed the app/code/ code.

  • uploaded the customer.patch file from hotfixes folder then moved to the git.

  • Cloud is not accepting to move vendor files to git.

  • So i created file in app/code folder like
    app/code/vendor/magento/module-customer/Block/CustomerData.php

  • added to git then committed. Not pushed the changes to any branch.

  • Then updated the modified code then executed the git diff command. git diff app/code/vendor/magento/module-customer/Block/CustomerData.php

  • It showed the below code. diff --git a/app/code/vendor/magento/module-customer/Block/CustomerData.php b/app/code/vendor/magento/module-customer/Block/CustomerData.php index 3ee2rd..8349152 111644 --- a/app/code/vendor/magento/module-customer/Block/CustomerData.php +++ b/app/code/vendor/magento/module-customer/Block/CustomerData.php

  • I copied that above code and added in customer.patch file then removed the app/code/ code.

  • uploaded the customer.patch file from hotfixes folder then moved to the git.

  • Then remove the file from app/code/vendor/magento/module-customer/Block/CustomerData.php location then commit again.

Source Link

  • Cloud is not accepting to move vendor files to git.

  • So i created file in app/code folder like
    app/code/vendor/magento/module-customer/Block/CustomerData.php

  • added to git then committed. Not pushed the changes to any branch.

  • Then updated the modified code then executed the git diff command. git diff app/code/vendor/magento/module-customer/Block/CustomerData.php

  • It showed the below code. diff --git a/app/code/vendor/magento/module-customer/Block/CustomerData.php b/app/code/vendor/magento/module-customer/Block/CustomerData.php index 3ee2rd..8349152 111644 --- a/app/code/vendor/magento/module-customer/Block/CustomerData.php +++ b/app/code/vendor/magento/module-customer/Block/CustomerData.php

  • I copied that above code and added in customer.patch file then removed the app/code/ code.

  • uploaded the customer.patch file from hotfixes folder then moved to the git.