Rebase - GregHib/void GitHub Wiki

Rebasing is a way of taking you existing changes and applying them on-top of the latest version of another branch.

YouTube - Git Rebase in IntelliJ

How to update your main branch

Make sure you're on the branch you want to update.

  1. Fetch the latest changes

image

  1. Update the main branch
  1. Rebase onto Remote | origin/main branch

image

IntelliJ guide on Merge, rebase and cherry-picking