Merge Branches
Learn to merge different branches with one another using Git.
We'll cover the following
The git merge
command
After creating different branches, we need to run git merge
to merge the current branch into the other branch as follows:
(master branch)$ git merge feature_a
Its result is a recursive merge. This happens when we merge two branches that have different commit histories.
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy