Skip to content
This repository was archived by the owner on Apr 12, 2020. It is now read-only.

Latest commit

 

History

History
36 lines (22 loc) · 579 Bytes

File metadata and controls

36 lines (22 loc) · 579 Bytes

Generating links

Once you have installed the extension, you can also generate links to various elements: commit, reference, branch, tag, tree.

Link to a commit

{{ git_url(commit) }}

Link to a branch

{{ git_url(branch) }}

Link to a tag

{{ git_url(tag) }}

Link to a tree

{{ git_url(branch, {path: '/src'}) }}
{# or #}
{{ git_url(branch, {path: ''}) }}