In all, I’d say the pain of feature branches and PRs is tiny compared to trunk based development, even for teams as small as two.
It’s not the industry standard without reason.
In all, I’d say the pain of feature branches and PRs is tiny compared to trunk based development, even for teams as small as two.
It’s not the industry standard without reason.
That doesn't mean an entire feature has to go in one commit (usually). Often a feature is made up of a series of non-breaking changes that can be layered one at a time, if appropriate.
Edit: Rereading your comment, I suspect you mean non-local backups. Our organization has a special remote only visible to you and those you allow for pushing code you'd like to backup off of your box.
I'm sorry but it hurts just to read this. Just No.
Another thing that can help is a source control system that supports multiple commits and committing them to the main branch as a contiguous unit. I believe Phabricator supports that.
The next best thing you can do with GitHub is make your pretty series of commits for review, but then squash on completion using the GitHub UI. GitHub retains the individual commits of the PR that we’re reviewed while the main branch history has a single commit that passed CI.