If there are multiple developers working on a feature branch, and we need to periodically bring in changes from master, there are two approaches that I know of:
- developers communicate that they have the latest changes from the published feature branch. Then one developer rebases onto master and force pushes. Other developers pull down the new feature branch and everyone continues developing.
- any developer merges master in whenever they like, no one ever force pushes.
my questions:
- am i right that these are the possible workflows?
- with the second workflow, when it's time to bring the feature branch into master, how can this be done with the cleanest history possible? Will a rebase onto master clean up/remove the other merge commits, or will it be a mess?