Simple play icon Course
Skills

Rewriting Git 2.x History

by Brad Bow

This course teaches you why rewriting Git history can be useful, how to do it, and how to deal with some of the common problems that can arise when you do.

What you'll learn

A good Git history allows you to clearly identify important milestones, easily revert logical blocks of related changes, and collaborate efficiently with your colleagues. However, these benefits are hard to realize if your history is poorly structured and full of distracting noise. In this course, Rewriting Git 2.x History, you'll learn how you can use interactive rebasing to rewrite your Git history, allowing you to keep it clear and concise. First, you'll learn exactly why rewriting Git history is worthwhile. Then, you'll explore what interactive rebasing is, with a series of examples. Finally, you'll see how to minimize the risk of introducing problems when you perform interactive rebases and how to revert the effects of a rebase should you need to. When you’re finished with this course, you’ll have all the skills you need to keep your Git history in good shape.

About the author

Brad Bow is a Software Engineer based in Brisbane, Australia. Over the course of his career, he has worked in numerous industries, mostly building web-based solutions in Microsoft technologies. He is cultivating an interest in functional programming and believes that its principled roots can go a long way toward solving, or at least mitigating, some of the common problems we face in software development. Nothing is a silver bullet though, and he remains open to advancements in programming and t... more

Ready to upskill? Get started