tl;dr How can I update a gitlab merge request the same way as a gerrit changeset?
In a rather standard gitlab setting, I own a project and want it to keep a linear history. I set the merge settings accordingly and everything works fine from the UI.
If I want to incorporate feedback into an existing merge request, I am currently forced to git push --force
my branch which I find both inconvenient and dangerous. As a counterexample, gerrit has a special target refs/for/XXX
where I can push my changes. Gerrit then identifies the changeset by an Id in the commit message and happily creates a new version of the changeset.
Is there a similar feature for gitlab? Can I push my (rebased, squashed, ammended) changeset somewhere so that it automatically becomes a new version of an existing MR?