Magento Cloud : Fixing Merge ConflictMagento 2 “There has been an error processing your request”Transfer multi-website content between staging and productionCan't add custom script (leaflet) to Contact pagehelp with magento cloudMagento Cloud Upload changes to master without re-deploy everything?Magento2 EE - Multi Language - CMS Page does not translated first timeHow could I purchase Magento Commerce Cloud?Accept payment fail when payment status is review in Magento2Magento 2.3.1 upgrade ErrorsMagento 2 Commerce Cloud acessing DB

Preventing Employees from either switching to Competitors or Opening Their Own Business

1980s live-action movie where individually-coloured nations on clouds fight

How to retract an idea already pitched to an employer?

Using a found spellbook as a Sorcerer-Wizard multiclass

When conversion from Integer to Single may lose precision

Confusion about off peak timings of London trains

Can the poison from Kingsmen be concocted?

Russian equivalents of "no love lost"

Is it possible to 'live off the sea'

Can an Aarakocra use a shield while flying?

Facebook Marketing API asset access suddenly denied

How did they achieve the Gunslinger's shining eye effect in Westworld?

Is the term 'open source' a trademark?

GMRES vs Newton-GMRES for Solving nonlinear PDE's

Trapping Rain Water

Are there downsides to using std::string as a buffer?

How can drunken, homicidal elves successfully conduct a wild hunt?

Was the output of the C64 SID chip 8 bit sound?

How to build suspense or so to establish and justify xenophobia of characters in the eyes of the reader?

Is open-sourcing the code of a webapp not recommended?

Where does "0 packages can be updated." come from?

Compiling c files on ubuntu and using the executable on Windows

Why only the fundamental frequency component is said to give useful power?

What risks are there when you clear your cookies instead of logging off?



Magento Cloud : Fixing Merge Conflict


Magento 2 “There has been an error processing your request”Transfer multi-website content between staging and productionCan't add custom script (leaflet) to Contact pagehelp with magento cloudMagento Cloud Upload changes to master without re-deploy everything?Magento2 EE - Multi Language - CMS Page does not translated first timeHow could I purchase Magento Commerce Cloud?Accept payment fail when payment status is review in Magento2Magento 2.3.1 upgrade ErrorsMagento 2 Commerce Cloud acessing DB






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am working on a project based on Magento Commerce Cloud.



I am trying sync code from master to Staging branch but i am getting failure message.And when i view the logs,i am seeing merge conflict w.r.t some files.



Can anyone please guide on how can i fix this



Thanks!










share|improve this question






























    0















    I am working on a project based on Magento Commerce Cloud.



    I am trying sync code from master to Staging branch but i am getting failure message.And when i view the logs,i am seeing merge conflict w.r.t some files.



    Can anyone please guide on how can i fix this



    Thanks!










    share|improve this question


























      0












      0








      0








      I am working on a project based on Magento Commerce Cloud.



      I am trying sync code from master to Staging branch but i am getting failure message.And when i view the logs,i am seeing merge conflict w.r.t some files.



      Can anyone please guide on how can i fix this



      Thanks!










      share|improve this question
















      I am working on a project based on Magento Commerce Cloud.



      I am trying sync code from master to Staging branch but i am getting failure message.And when i view the logs,i am seeing merge conflict w.r.t some files.



      Can anyone please guide on how can i fix this



      Thanks!







      magento2 git magento2-cloud






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 30 at 5:16









      Muhammad Wasif

      15311




      15311










      asked May 29 at 13:52









      venkivenki

      257




      257




















          2 Answers
          2






          active

          oldest

          votes


















          0














          Without knowing where you are and what's awaiting change I can only suggest something like this:



          git checkout develop
          git reset --hard
          git fetch
          git rebase
          git checkout master
          git reset --hard
          git fetch
          git rebase
          git merge develop


          If you still get conflicts you will have to manually work through them after this point.



          Others will probably suggest merging master into develop and resolving conflicts on develop branch.



          But without seeing the files and what's happening it's a best guess scenario.






          share|improve this answer






























            0














            On your local machine merge master in to staging and then use your tool of choice to manually fix the merge conflict, then push to Magento Cloud. PHP Storm is great for this.






            share|improve this answer























              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "479"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f276594%2fmagento-cloud-fixing-merge-conflict%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              Without knowing where you are and what's awaiting change I can only suggest something like this:



              git checkout develop
              git reset --hard
              git fetch
              git rebase
              git checkout master
              git reset --hard
              git fetch
              git rebase
              git merge develop


              If you still get conflicts you will have to manually work through them after this point.



              Others will probably suggest merging master into develop and resolving conflicts on develop branch.



              But without seeing the files and what's happening it's a best guess scenario.






              share|improve this answer



























                0














                Without knowing where you are and what's awaiting change I can only suggest something like this:



                git checkout develop
                git reset --hard
                git fetch
                git rebase
                git checkout master
                git reset --hard
                git fetch
                git rebase
                git merge develop


                If you still get conflicts you will have to manually work through them after this point.



                Others will probably suggest merging master into develop and resolving conflicts on develop branch.



                But without seeing the files and what's happening it's a best guess scenario.






                share|improve this answer

























                  0












                  0








                  0







                  Without knowing where you are and what's awaiting change I can only suggest something like this:



                  git checkout develop
                  git reset --hard
                  git fetch
                  git rebase
                  git checkout master
                  git reset --hard
                  git fetch
                  git rebase
                  git merge develop


                  If you still get conflicts you will have to manually work through them after this point.



                  Others will probably suggest merging master into develop and resolving conflicts on develop branch.



                  But without seeing the files and what's happening it's a best guess scenario.






                  share|improve this answer













                  Without knowing where you are and what's awaiting change I can only suggest something like this:



                  git checkout develop
                  git reset --hard
                  git fetch
                  git rebase
                  git checkout master
                  git reset --hard
                  git fetch
                  git rebase
                  git merge develop


                  If you still get conflicts you will have to manually work through them after this point.



                  Others will probably suggest merging master into develop and resolving conflicts on develop branch.



                  But without seeing the files and what's happening it's a best guess scenario.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered May 29 at 14:05









                  Dominic XigenDominic Xigen

                  97511




                  97511























                      0














                      On your local machine merge master in to staging and then use your tool of choice to manually fix the merge conflict, then push to Magento Cloud. PHP Storm is great for this.






                      share|improve this answer



























                        0














                        On your local machine merge master in to staging and then use your tool of choice to manually fix the merge conflict, then push to Magento Cloud. PHP Storm is great for this.






                        share|improve this answer

























                          0












                          0








                          0







                          On your local machine merge master in to staging and then use your tool of choice to manually fix the merge conflict, then push to Magento Cloud. PHP Storm is great for this.






                          share|improve this answer













                          On your local machine merge master in to staging and then use your tool of choice to manually fix the merge conflict, then push to Magento Cloud. PHP Storm is great for this.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered May 29 at 14:28









                          Ben CrookBen Crook

                          9,5902579




                          9,5902579



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Magento Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f276594%2fmagento-cloud-fixing-merge-conflict%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                              Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

                              Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?