Pushing Master Branch to Development: A Step-by-Step Guide

If you want to merge changes from the master branch into the development branch and push those changes, follow these steps:

Step-by-Step Instructions:

  1. Switch to the development Branch
    Use the following command to move to the development branch:
    git checkout development
  2. Merge master Into development
    Merge the changes from the master branch into development:
    git merge master
  3. Push the Updated development Branch to Remote
    After merging, push the updated development branch to your remote repository:
    git push origin development

Combined Command:

To execute all the above steps in one line, you can run:

git checkout development && git merge master && git push origin development

Notes:

If you encounter merge conflicts, resolve them before pushing the changes.

Ensure you have committed and pushed all your changes on master before merging.