Managing Git history
There are times when you need to revise your local commit history. Example scenarios include needing to change your commit message, update the order of your commits, or squash commits together.
In this section, we’ll discuss how to change your Git history before sharing your work with others.