Skip to content

Commit af67e6f

Browse files
committed
Merge branch '2.3.x' into 2.4.x
2 parents f9d1a45 + b82f5a4 commit af67e6f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,6 +1194,13 @@ If you want to display the full git information (that is, the full content of `g
11941194
mode: "full"
11951195
----
11961196
1197+
To disable the git commit information from the `info` endpoint completely, set the configprop:management.info.git.enabled[] property to `false`, as follows:
1198+
1199+
[source,properties,indent=0,configprops]
1200+
----
1201+
management.info.git.enabled=false
1202+
----
1203+
11971204
11981205
11991206
[[production-ready-application-info-build]]

0 commit comments

Comments
 (0)