Merging branches in Git

Merging branches in Git

we have multiple branches in our code.if we want to use other branch features in the working branch we can merge them two and make a new branch

Merge to current branch

git merge <branchname>

Merging without commit

git merge --no-commit <branchname>

Merge with message

git merge -m "msg" <branchname>
Last updated on by vishal devxo