Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 665 Bytes

4.0-merging.md

File metadata and controls

23 lines (14 loc) · 665 Bytes

4.0 Merging

Covered commands + concepts:

  • git merge [branchname]

Git merge is a powerful tool in our git arsenal. We use git merge to incorporate the changes in one branch to another. A bit later we'll go over merging things other than local branches.

Let's say we have the same two branches that have been worked on as shown previously. We're on the branch master: two branches

and we can merge testing into it: move head after commit

From there, we can continue working. All commits in this diagram will show up in our history with git log. move head after commit