Project Skara provides committers with additional commit commands that enable additional functionality. A commit command is a comment made to a commit that starts with a slash ("/"), for example "/tag" or "/backport". The command may appear on any line and with an arbitrary amount of whitespace in front of it, but it must be the first non whitespace characters that appear on a particular line.

Note that if you are using Skara on Gitlab, there are built in commands that clash with some of the Skara commands. To enforce use of the Skara command and not the Gitlab variant, you can put some whitespace in front of the command in the comment.

Commands

/backport

Syntax

/backport <repo> [<branch>]

Description

Applies the commit onto the given branch in the given repository and then shows to a link to create a pull request with the changes. The branch is optional and defaults to the master branch. If the commit does not apply then a message is shown describing the files containing conflicts. SeeĀ Backports.

Examples

/tag

Syntax

/tag <name>

Description

Creates a tag for the commit with the given name.

Examples

/help

Syntax

/help

Description

Shows help for all commit commands.

Examples