Skip to content

Is it possible to override GitLab syntax for shorthand links #2448

Answered by facelessuser
gmkado asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not sure I understand the request. Can you clarify exactly what you are asking?

GitHub will resolve # as an issue. When you click an issue link, GitHub will redirect to PRs or Issues depending on the real context. In short, GitHub does not require ! for Pull/Merge requests, but can optionally be used if you like the GitLab-like separation.

GitLab is very particular and requires # or ! (within their app) to create links that are either issues or merge requests. An issue URL with a merge request ID will not be redirected merge requests but will go to issues and fail, or find an issue with that number, not matching the intent. So, in order to intelligently tell what a user means in their…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gmkado
Comment options

Answer selected by gmkado
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants