git rebase: catch up with main on your branch

If you work on a project with other people, there is a good chance that main keeps moving while you work on your branch. One way to catch up with those changes is using git rebase . 🤔 Hop onto your branch and then run git rebase main . That replays your commits on top of the latest main . It is almost like you started your branch today, with everybody else’s work already in it. And if there is a…