I cloned Drupal 8 core and modules from my Acquia Cloud distro into my local repo.
In my local repo I have 2 branches * develop
and master
. Currently I am in develop
branch. I made some small changes to the .gitignore
file and in sites/default/settings/php
(in the develop
branch i want to make all my changes to code, themes and add contributed modules).
Currently i am in develop
branch. When i try from Dev desktop: Push code to Cloud Dev I get this message:
NOTE: Your locally deployed branch 'develop' doesn't match 'master' deployed in the Cloud environment 'dev'. You will have to deploy 'develop' in the Cloud to see your code changes.
I know I get this message because I am currently in develop
branch. But what do I have to do exactly before Push code to Cloud Dev to avoid this error message? What is the recommended procedure exactly to make changes to my code locally (on another branch) and Push code to Cloud Dev? And is it advisable to make those changes to code on another branch e.g. develop
?
Update:
- I select
develop
in Acquia Cloud dev environment aftergit push origin develop
. Till when? When do i have to choosemaster
again? - In my local repo i have added branch
develop
to add all my contributed modules and to develop the frontend etc. When do i have to merge it tomaster
exactly? Or do i have to stay ondevelop
all the time?