Template:Git
Usage
Produce a link to a Git commit or Gerrit changeset.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | 1 | The SHA1 hash of the Git commit, or Gerrit change number, or Gerrit Change-Id hash | String | required |
Example
Testing main template
{{Git}}
Testing Gerrit change number
{{Gerrit|4203}}
Testing Gerrit change id
{{Gerrit|I2d7d6eeef07552b796a68963ccd4f89f4c5939d7}}
Testing Git commit id
{{Git|3b85ab0624afe5a53bb60c558f0bef4d6dfb43cd}}
{{Git|3b85ab0}}
See also
- {{git file}}.