]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/gitcredentials.txt
credential: allow wildcard patterns when matching config
[thirdparty/git.git] / Documentation / gitcredentials.txt
index ea759fdee594f74c8bd06839367d6596ce153352..12cb032352c457fac30bec7acf403b3b65436cea 100644 (file)
@@ -131,7 +131,9 @@ context would not match:
 because the hostnames differ. Nor would it match `foo.example.com`; Git
 compares hostnames exactly, without considering whether two hosts are part of
 the same domain. Likewise, a config entry for `http://example.com` would not
-match: Git compares the protocols exactly.
+match: Git compares the protocols exactly.  However, you may use wildcards in
+the domain name and other pattern matching techniques as with the `http.<url>.*`
+options.
 
 If the "pattern" URL does include a path component, then this too must match
 exactly: the context `https://example.com/bar/baz.git` will match a config