Hacker News new | ask | show | jobs
by claytonaalves 1649 days ago
Well here is the workflow we use here at our company:

Branch feature from master/main.

Keep feature branch in sync with master/main (merging from master/main everyday). This minimizes conflicts when we finally get to merge feature branch to master.

Any refactor made in feature branch may be cherrypicked to master any time. This reduces differences between feature branch and master/main, resulting in less code to review.