Part IV. Advanced Skills

In the following chapters, we discuss topics that help you understand alternative methods in which you are able to propagate changes between repositories that are shared and developed among distributed collaborators. We discuss a simple yet effective mechanism to share those changes via patches, which you can send via email.

We also start exposing you to the possibility of extending the standard execution flow for a handful of Git operations. This is something you can benefit from in the event you need to implement a custom execution workflow beyond the standard Git operations in your daily routine. Although popular Git hosting platforms now support modern development workflow features, knowing this technique adds an extra trick up your sleeve when you need a workflow feature that is not readily available out of the box.

Chapter 15 is going to help you when you need to modularize your projects and manage them in separate Git repositories. We discuss two commonly used methods to achieve this with some examples demonstrating technical implementation to reference dependent Git repositories. In Chapter 16 we push the skills you learned in the intermediate section a little further. We share some elegant techniques to help you craft or group related hunks of changes as an atomic commit, teach you how to find lost commits and demonstrate the usage of the git rev-list command. The showcase of this chapter is the git-filter-repo tool. It is the Swiss Army knife ...

Get Version Control with Git, 3rd 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.