3 ms·
This is a problem of GitHub, not Git. E.g. GitLab preserves comments as well across rebases as any commit changes. "Don't rebase public branches" is an easy wa
by morelisp 3y ago
This is a problem of GitHub, not Git. E.g. GitLab preserves comments as well across rebases as any commit changes.
"Don't rebase public branches" is an easy way to say "if someone has built something on top your branch, don't rebase unless you expect them to also rebase." 90% of the time this is not actually harder than merging, though, and still produces a better history and more atomic commits.
At this point I'm even only 99% firm on "never rebase master", as long as release tags are truly immutable.