Template:Git/doc: Difference between revisions
Appearance
m Reverted edits by ~2026-9858 (talk) to last version by Renamed user 34a3a995a576e0da3fb6b4ed792b4c63: unexplained content removal |
m 1 revision imported: Initial Setup |
||
(No difference)
| |||
Latest revision as of 08:26, 12 April 2026
| This is a documentation subpage for Template:Git. It contains usage information, categories and other content that is not part of the original Template page. |
Usage
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Git
Produce a link to a Git commit or Gerrit changeset.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
1 | The SHA1 hash of the Git commit, or Gerrit change number, or Gerrit Change-Id hash | String | required | |
Examples
Basic call without parameters (Gerrit search)
{{Git}}
Gerrit change number
{{Gerrit|4203}}
Gerrit change id
{{Gerrit|I2d7d6eeef07552b796a68963ccd4f89f4c5939d7}}
Git commit id
{{Git|3b85ab0624afe5a53bb60c558f0bef4d6dfb43cd}}
{{Git|3b85ab0}}