Merge request exclamation mark

When creating a merge request the name of the merge request seems to be an exclamation mark followed by a sequence number.

What is the reasoning behind that exclamation mark? Why not just a sequence number?


It’s to help with hyperlinks and quick actions.

There are a number of identifiers (IIDs) that GitLab autoincrements when you create new objects (issues, MRs, milestones). A new issue is ~4, a new MR is !4 and a new milestone is %4. The prefix helps GitLab render the IID as a hyperlink to the correct object.

If you are writing a comment, an MR description or an issue, you can just press ~, !, or % and then press tab to autocomplete the identifier.

1 Like

Hi @snim2, thank you for the clarification!

1 Like