]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/config.txt
urlmatch: allow globbing for the URL host part
[thirdparty/git.git] / Documentation / config.txt
index af2ae4cc02af75c5cf9395e228ff8bbc6e390181..ee155d8a6b91b1b3590792d8fb8a1c6d73e643bb 100644 (file)
@@ -1914,7 +1914,10 @@ http.<url>.*::
   must match exactly between the config key and the URL.
 
 . Host/domain name (e.g., `example.com` in `https://example.com/`).
-  This field must match exactly between the config key and the URL.
+  This field must match between the config key and the URL. It is
+  possible to specify a `*` as part of the host name to match all subdomains
+  at this level. `https://*.example.com/` for example would match
+  `https://foo.example.com/`, but not `https://foo.bar.example.com/`.
 
 . Port number (e.g., `8080` in `http://example.com:8080/`).
   This field must match exactly between the config key and the URL.