Edit commit messages in a merge request
Problem to solve
If I make a typo in a commit message, or want to improve the detail of my commit messages, I need to go back to my local machine to make these changes.
The only escape hatch that GitLab provides is squash and merge, but I don't have merge permissions, so I need to rely on someone else fixing my commit message during the sqush. But this assumes I want to squash my commit messages!
Further details
At GitLab we use Danger to validate commit messages after pushing, but as a developer working on a WIP merge request the only way to do that is to leave GitLab and fix it offline. It should be possible to resolve it in the interface.
A concern with making rewriting history on the server easy, is that it requires any other collaborator understand they'll need to rebase their feature branch on the remote feature branch.
Proposal
As a developer working on a merge request, I will be able:
- open the commit list
- click edit and reword all the commit messages in my branch that are in my branch