Description Usage Arguments Details Value
A valid reference has restrictions on the special characters allowed (see details).
1 | is_ref(x)
|
x |
Object to check |
Git imposes the following rules when naming references:
They can include slash / for hierarchical (directory) grouping, but no
slash-separated component can begin with a dot . or dash - or end with
the sequence .lock.
They cannot have two consecutive dots .. anywhere.
They cannot have the special characters: space , tilde ~, caret ^,
or colon :, question-mark ?, asterisk *, backslash \\, or open
bracket \[ anywhere.
They cannot begin or end with a slash / or contain multiple consecutive
slashes
They cannot end with a dot ..
They cannot contain a sequence @\{.
They cannot be the single character @.
TRUE if x is a valid reference name, FALSE otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.