Answer the question
In order to leave comments, you need to log in
How to merge a remote branch?
In a remote repository, another developer created a branch and uploaded changes there.
I need to upload these changes to the master branch on prod.
To do this, somehow you need to merge a new branch in master.
I understand how it works locally, but not remotely.
Who will help?
Answer the question
In order to leave comments, you need to log in
Reduce the task to the previous one
git checkout master
git pull
git merge origin/other-branch
git push
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question