DEV Community

Discussion on: Refactoring code - git rebase

andreacanton profile image
Andrea Canton

I think rebase is good when you need to get everything in one timeline. Is good to rebase when you pull from a remote branch so you don't create a merge commit with the same branch. But rebasing before merging other local branches is not a good idea, you loose the timeline of when you made the edit.