git checkout [branchname]
git merge master
git push origin [branchname]
git checkout <branchname>
git merge master -m 'your message here'
git push origin <branchname>
# 2. merge feature branch to origin/master branch
$ git checkout master
$ git pull origin/master
$ git merge feature
$ git push origin/master
git checkout feature1
git merge master
git checkout master
git pull
git checkout test
git merge master
git push
# ...develop some code...
$ git add –A
$ git commit –m "Some commit message"
$ git checkout master
Switched to branch 'master'
$ git merge new-branch
git checkout feature1
git merge master