<h1>Rebase to prepare your commits for publishing Practical Git (intermediate)</h1> <p class="description"> git-rebase is a swiss army knife for managing multiple branches and commits. Here you'll see how to rebase onto another developer's branch, rebase onto a release branch (with reverted commits), and interactively squash commits before pushing them. </p> <iframe width="560" height="315" src="https://www.youtube.com/embed/GjEHeM2LGmU" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>