Template:Git-branch

From The Dreaming
Jump to navigation Jump to search

Creates a link to a branch within gitlab

Usage

Takes a single parameter - the name of the branch to create a link to. If no parameter is given, this will link to master.

Examples

Without a parameter:

{{git-branch}}

will produce: master

Given a parameter, it will link to that branch, eg.

{{git-branch|v4.1}}

will emit: v4.1