aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/content/en/variables/git.md
blob: 3dc4732655c7100c3edd2f6f89a304701e3200b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
title: Git variables
description: Retrieve Git information related to the last commit of any page.
categories: [variables]
keywords: []
menu:
  docs:
    parent: variables
    weight: 30
weight: 30
aliases: [/extras/gitinfo/]
---

{{% include "variables/_common/consistent-terminology.md" %}}

To retrieve Git information related to the last commit of any page, see the documentation for the [`GitInfo`] method on a `Page` object.

[`GitInfo`]: /methods/page/gitinfo