top | item 37622935

(no title)

moojd | 2 years 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.

discuss

order

twic|2 years ago

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.