9

Merging Changes Together

The previous chapter, Advanced Branching Techniques, described how to use branches effectively for collaboration and development.

This chapter will teach you how to integrate changes from different parallel lines of development together (that is, branches) by creating a merge commit, or by reapplying changes with the rebase operation. Here, the concepts of merge and rebase are explained, including the differences between them and how they can be used. This chapter will also explain the different types of merge conflicts and teach you how to avoid them, examine them, and resolve them.

In this chapter, we will cover the following topics:

  • Merging, merge strategies, and merge drivers
  • Cherry-picking and reverting a commit ...

Get Mastering Git - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.