diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 09e115b410..04207acada 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -1043,6 +1043,37 @@
+ BUILDHISTORY_PUSH_REPO
+
+
+ When inheriting the
+ buildhistory
+ class, optionally specifies a remote repository
+ to which build history pushes Git changes.
+ In order for BUILDHISTORY_PUSH_REPO
+ to work,
+ BUILDHISTORY_COMMIT
+ must be set to "1".
+
+
+
+ The repository should correspond to a remote
+ address that specifies a repository as understood by
+ Git, or alternatively to a remote name that you have
+ set up manually using git remote
+ within the local repository.
+
+
+
+ By default, the buildhistory class
+ sets the variable as follows:
+
+ BUILDHISTORY_PUSH_REPO ?= ""
+
+
+
+
+
BUILDSTATS_BASE