1 karma · joined Oct 1, 2023 (3y ago) · 5 submissions
comment 11mo ago · link · parent
With pre-commit you can disable squashing on merge. You'll have a refactor commit and a feature commit. Changes to the refactor can be --fixup followed by rebase. I find this much easier than juggling two pull requests.
I accept that this is only viable with buy-in from everyone on the team, and I wouldn't advise it for teams over 10 people. But for small teams, I love pre-commit and trunk-based development.
comment 1y ago · link · parent
comment 3y ago · link · parent