I cloned Drupal 8 core and modules from my Acquia Cloud distro into my local repo.
In my local repo I have 2 branches
master. Currently I am in
develop branch. I made some small changes to the
.gitignore file and in
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.
- I select
developin Acquia Cloud dev environment after
git push origin develop. Till when? When do i have to choose
- In my local repo i have added branch
developto add all my contributed modules and to develop the frontend etc. When do i have to merge it to
masterexactly? Or do i have to stay on
developall the time?