merge branch git command code example
Example 1: git merge branch to another branch
git checkout targetBranch
git merge sourceBranch
Example 2: git merge
$ git checkout master
Switched to branch 'master'
$ git merge iss53
git checkout targetBranch
git merge sourceBranch
$ git checkout master
Switched to branch 'master'
$ git merge iss53