G
G
gitdev2017-08-21 17:14:20
git
gitdev, 2017-08-21 17:14:20

How to merge the branch that I pushed to the server and the master branch of the remote server?

I created a branch from the master branch, pushed it to the server, how can I merge it with the master branch?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0X12eb, 2017-08-22
@0X12eb

Branching and merging basics

git checkout master
git pull origin master
git merge <branch_name>
git push origin master

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question