diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 861be8d2a7..3928a1fa42 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -896,6 +896,34 @@
+ BUILDHISTORY_COMMIT
+
+
+ When inheriting the
+ buildhistory
+ class, specifies whether or not to commit the build
+ history output in a local Git repository.
+ If set to "1", this local repository will be maintained
+ automatically by the
+ buildhistory
+ class and a commit will be created on every
+ build for changes to each top-level subdirectory of the
+ build history output (images, packages, and sdk).
+ If you want to track changes to build history over
+ time, you should set this value to "1".
+
+
+
+ By default, the buildhistory class
+ does not commit the build history output in a local
+ Git repository:
+
+ BUILDHISTORY_COMMIT ?= "0"
+
+
+
+
+
BUILDHISTORY_DIR