Comment

Comment by PaulDavisThe1st

If you work on a branch also worked on by others, then yes, rebase is "only" possible on private commits.

But if you work on a feature branch, you can publish that branch as long as everybody else understands that it is yours and nobody should push to it. Then you can safely git push --force to the feature branch so that others can (a) see what you're up to (b) test the results. When you're done, you can do a final (or only) rebase against the target branch then merge to that branch.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton