path: root/Documentation/git-repo-config.txt
diff options
authorJohannes Schindelin <>2006-05-02 12:22:48 (GMT)
committerJunio C Hamano <>2006-05-03 03:09:54 (GMT)
commit2fa9a0fb31cbf01e8318a02c3e222d7fd3fd0a83 (patch)
tree6996841b59cc0884878a36ce310765e9252cbae0 /Documentation/git-repo-config.txt
parent3d990f110c2e5b8df83f6ab3ef83497f43c7fd47 (diff)
repo-config: support --get-regexp
With --get-regexp, output all key/value pairs where the key matches a regexp. Example: git-repo-config --get-regexp remote.*.url will output something like remote.junio.url git:// remote.gitk.url git:// Signed-off-by: Johannes Schindelin <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-repo-config.txt')
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/git-repo-config.txt b/Documentation/git-repo-config.txt
index 566cfa1..ddcf523 100644
--- a/Documentation/git-repo-config.txt
+++ b/Documentation/git-repo-config.txt
@@ -49,7 +49,7 @@ OPTIONS
Default behaviour is to replace at most one line. This replaces
- all lines matching the key (and optionally the value_regex)
+ all lines matching the key (and optionally the value_regex).
Get the value for a given key (optionally filtered by a regex
@@ -59,6 +59,9 @@ OPTIONS
Like get, but does not fail if the number of values for the key
is not exactly one.
+ Like --get-all, but interprets the name as a regular expression.
Remove the line matching the key from .git/config.