Git Questions – How and When Do I Merge or Rebase? [Video]
Knowing when to merge or rebase your code in Git is an important part of using Git. So when do you do it, and do you merge OR rebase? Read on for some insight.
Join the DZone community and get the full member experience.Join For Free
Ever since Gary and I started the Git Questions video series, we’ve been asked to talk about merging. We’re also frequently asked about rebasing – what is it, and when should I do it?
In this week’s video, we take a look at how to use IntelliJ IDEA to merge a branch back into the “main” development branch. We also talk about rebasing – not only showing how to do it in the IDE, but what it means and when you should do it.
We don’t show how to deal with merge conflicts in this video, but they are discussed, and a more complete conflict-resolution video is definitely high on the TODO list.
Published at DZone with permission of Trisha Gee, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.