Description
Course info
Rating
(59)
Level
Intermediate
Updated
Jul 3, 2018
Duration
1h 4m
Description

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 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
About the author

Brad Bow is a Software Engineer with a passion for learning and teaching. He loves finding the simplest solution that works and believes constraints are often pleasantly liberating.

Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name is Brad Bow. Welcome to my course, Rewriting Git History. I'm a software engineer from Brisbane, Australia where I work for a company called Stacktrace. A well-structured Git history can add a lot of value to your team and project, but it's easy to let noise and triviality creep in. This course will show you how to use interactive rebasing to keep your Git history clear and concise. Some of the topics that we will cover include squashing and splitting commits, rewording commit messages, reordering and dropping commits, and pushing rewritten history to remotes. By the end of this course, you'll know how to safely use interactive rebasing to keep your Git history in good shape. Before beginning the course, you should be familiar with the basics of Git and be comfortable using Git from the command line. I hope you'll join me on this journey to learn how to rewrite your Git history with the Rewriting Git History course at Pluralsight.