On the usefulness of `git rebase`

Rémy 🤖 - May 1 '21 - - Dev Community

Over 10+ years of using Git, I've only ever used git rebase for very specific cases and most of those uses were at the beginning of my career when I read that it was a good practice to use it.

The most common argument is that it helps reading the Git history. As I've been avoiding rebase for years now I can tell you that in no situation I found myself being like "oh no I wish this commit was rebased for clarity", it's even quite the opposite. I find it much clearer to see what actually happened rather than a redacted history.

On the other hand, rebases can cause weird and unexpected behaviors. After all you're messing with the git history, which is not the most intuitive thing.

So in the end, who uses rebase and for what reason?

. . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player