alternatively there's a cool feature called rebase
if you are developing by a certain workflow, you may have to rebase regularly before merging into master
There's 3 devs on a team. Let's call em A, B, and C
now A starts working on a really really really big feature (like rewriting the GUI or sth.)
what they do is they branch out at some point from master
then development continues, developer B and C perform significant changes to the codebase, and after 2 months or so, developer A wants to merge their feature
since developer A wants to know their work safe, they commited the working state every evening to the branch GUI_REWRITE
and because they don't want the codebases to become too divergent (which makes merging something devs are scared shirtless of), they merged the changes from master every 3 days
this means they have at least 40 commits now.
the day of the pull-request comes and devs B and C review A's work
to simplify this process the company states "review each commit by it's own merit and the whole diff by it's merit"
reviewing each commit often makes it simpler to CR changes
because a commit is a logical unit, and a diff of 2 months development is not really reviewable.
anyways, the pull-request is approved
now: does it make sense to just merge the changes from GUI_REWRITE into master?