I'm in the following scenario:
- I commit some patches to a dev branch
- I push the branch on stash or github or bitbucket
- I open a merge request from dev to master
- I push some new patches that fix issues reported by reviewers
It turns out some of the patches can be squashed with the previous ones, in order to increase clarity and consistency.
Is it OK to do so (and then force push to the remote dev branch)? Is there some situations where this could break something in the merge-request-experience?
EDIT
Thanks for your answers.
I'm in fact the owner of a project's repository, not an actual user creating a merge requests. I completely understand git's merging and rebasing mechanisms so no need to explain git's internals.
The question is more: as a reviewer, would you ask a submitter to squash some of its patches when it makes sense? In your experience, does it disable or break some opportunities that offer pull requests.