1and1 Help Centre Categories

print article

Merge Several Branches of Git Repositories

To merge a previously created branch with the master branch, enter the following commands:

git checkout master
git merge master

To delete the branch, enter the following command:

git branch-d my branch
For additional information, you may want to reference: