Hacker News new | ask | show | jobs
by moojd 994 days ago
I like that git allows rebase, as long as it is only done in prs or local. Rebase in the sheets, merge in the streets.
1 comments

Or, more conventionally put:

> The golden rule of git rebase is to never use it on public branches.

https://www.atlassian.com/git/tutorials/merging-vs-rebasing#...

If you're doing trunk based development, with continuous integration, then you're approximately always on a public branch, and rebasing is not very useful.