When working with source code, it can be of importance to refer to a line of code, a file, or other things, when discussing something. Because many development teams are nowadays spread throughout the world, GitLab adapts to that and makes it easy to refer and reference many things directly from comments, wiki pages, or issues.
Some things like files or lines can be referenced via links, because GitLab has unique links to the branches of a repository; others are more directly accessible. The following items (basically, prefixed strings or IDs) can be referenced through shortcodes:
commit messages
comments
wall posts
issues
merge requests
milestones
wiki pages
To reference items, use the following shortcodes inside any field that supports Markdown or RDoc on the web interface:
@foo
for team members#123
for issues!123
for merge requests$123
for snippets1234567
for commits