DEV Community

Discussion on: ELI5: Git Rebase vs. Merge

lazzu profile image

It's not about how it looks like. Rebasing allows backtracking to specific commits when hunting bugs. It makes git-bisect a very powerful tool for pin-pointing buggy commits. When you know which small commit introduced the bug, you are able to fix it more quickly. This is also why smaller commits are way better than large commits.

karataev profile image
Eugene Karataev

It's possible to backtrack to specific commits and git-bisect with merge as well.