GitLab markdown special reference for project@HEAD
A useful addition to GitLab Markdown would be the ability to resolve
project@HEAD to the latest commit on master (or alternatively, something like
My use case for this is bug reporting templates. In these we require the reporter to specify the version affected, and feedback is that it's almost always "the latest". While it isn't much effort to go and find out the hash of the latest commit, some people just write "latest", which isn't very useful later on.
Add a "Special GitLab reference" which resolves to the current HEAD commit at the time of submitting the issue/making the comment.
- A shorthand GitLab special reference which can be used in templates
- Useful for assisting lazy issue reporting
- Issue templates
- Creating issues
- Commenting on issues
Make sure these are completed before closing the issue, with a link to the relevant commit.