Would you rather Rebase or Merge?

which one is better in a production environment?

I’m not too familiar with rebasing, but it seems like in the production environment it isn’t very safe. I’m used to merging, and wondering if there is any benefit to rebase rather than merge or what are the specific use cases.

Let me know your opinions or thoughts!

In most production environments rebasing and merging are both used. Just wondering: when you in your post refer to rebasing: what do you mean exactly (rebase a seperate branch onto master / use rebasing to squash commits / etc.)?

1 Like

I think he intends rebasing to squash commits and things that not involve master.