I am following this Acquia tutorial "Using Acquia Cloud with a remote repository" to merge 2 origins together. Here I am using Acquia & Bitbucket.
So, my both remote origins look like,
- origin - [sitename]@svn-[number].prod.hosting.acquia.com:[sitename].git
- bitbucket - [email protected]:[username]/[repo].git
When I work on the codebase I do the following to push codes. This is valid only for my work terminal.
- git add .
- git commit -m "message"
- git push origin develop && git push bitbucket develop
Now, the problem is that I have other developers too. So they only have access to bitbucket. So they will push the codes to bitbucket repository and it is me who has to get those updates in my local machine and push to acquia too for deployment.
So the question is how can I get update from bitbucket repository and push to acquia repository so both are in sync.
Please suggest.
You can keep things in sync with a simple
This pulls the latest changes from one remote repository and applies them to the other.