I would like to use gitlab markdown syntax to refer to a branch in README.md file.
I tried @develop
, but it doesn't work. Any ideas?
Not exactly what you were looking for but at least something - try this markdown construct.
[myReference](../../tree/myBranch/myPath/myFile.cpp#L310-313)
This will navigate you away from the main branch towards the branch you want (myBranch in this example)
However if the branchname changes then things will be broken. I really feel this functionality should be added to gitlab in near future
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With