git how to merge a branch into anotehr branch code example
Example 1: merge branch to branch
git checkout master
git merge new-branch
git push
Example 2: git merging to branch from branch
$ git checkout master
$ git merge hotfix
Updating f42c576..3a0874c
Fast-forward
index.html | 2 ++
1 file changed, 2 insertions(+)