aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2005-11-24 11:36:01 +0100
committerJunio C Hamano <junkio@cox.net>2005-11-24 11:10:40 -0800
commitee72aeaf009417156a3599b0eb69da3f7023ca07 (patch)
tree8510adf403a3d44b6de7f5c35d36b28bebeea64a /Documentation
parenta50b870aa18738ec10ed31fd4a32a284ee1cfe50 (diff)
downloadgit-ee72aeaf009417156a3599b0eb69da3f7023ca07.tar.gz
git-ee72aeaf009417156a3599b0eb69da3f7023ca07.tar.xz
Rename git-config-set to git-repo-config
... and adjust all references. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-repo-config.txt (renamed from Documentation/git-config-set.txt)38
-rw-r--r--Documentation/git.txt6
2 files changed, 22 insertions, 22 deletions
diff --git a/Documentation/git-config-set.txt b/Documentation/git-repo-config.txt
index bfbd42147..5eefe0243 100644
--- a/Documentation/git-config-set.txt
+++ b/Documentation/git-repo-config.txt
@@ -1,19 +1,19 @@
-git-config-set(1)
-===============
+git-repo-config(1)
+==================
NAME
----
-git-config-set - Set options in .git/config.
+git-repo-config - Get and set options in .git/config.
SYNOPSIS
--------
-'git-config-set' name [value [value_regex]]
-'git-config-set' --replace-all name [value [value_regex]]
-'git-config-set' --get name [value_regex]
-'git-config-set' --get-all name [value_regex]
-'git-config-set' --unset name [value_regex]
-'git-config-set' --unset-all name [value_regex]
+'git-repo-config' name [value [value_regex]]
+'git-repo-config' --replace-all name [value [value_regex]]
+'git-repo-config' --get name [value_regex]
+'git-repo-config' --get-all name [value_regex]
+'git-repo-config' --unset name [value_regex]
+'git-repo-config' --unset-all name [value_regex]
DESCRIPTION
-----------
@@ -89,7 +89,7 @@ Given a .git/config like this:
you can set the filemode to true with
------------
-% git config-set core.filemode true
+% git repo-config core.filemode true
------------
The hypothetic proxy command entries actually have a postfix to discern
@@ -97,7 +97,7 @@ to what URL they apply. Here is how to change the entry for kernel.org
to "ssh".
------------
-% git config-set proxy.command '"ssh" for kernel.org' 'for kernel.org$'
+% git repo-config proxy.command '"ssh" for kernel.org' 'for kernel.org$'
------------
This makes sure that only the key/value pair for kernel.org is replaced.
@@ -105,7 +105,7 @@ This makes sure that only the key/value pair for kernel.org is replaced.
To delete the entry for renames, do
------------
-% git config-set --unset diff.renames
+% git repo-config --unset diff.renames
------------
If you want to delete an entry for a multivar (like proxy.command above),
@@ -114,45 +114,45 @@ you have to provide a regex matching the value of exactly one line.
To query the value for a given key, do
------------
-% git config-set --get core.filemode
+% git repo-config --get core.filemode
------------
or
------------
-% git config-set core.filemode
+% git repo-config core.filemode
------------
or, to query a multivar:
------------
-% git config-set --get proxy.command "for kernel.org$"
+% git repo-config --get proxy.command "for kernel.org$"
------------
If you want to know all the values for a multivar, do:
------------
-% git config-set --get-all proxy.command
+% git repo-config --get-all proxy.command
------------
If you like to live dangerous, you can replace *all* proxy.commands by a
new one with
------------
-% git config-set --replace-all proxy.command ssh
+% git repo-config --replace-all proxy.command ssh
------------
However, if you really only want to replace the line for the default proxy,
i.e. the one without a "for ..." postfix, do something like this:
------------
-% git config-set proxy.command ssh '! for '
+% git repo-config proxy.command ssh '! for '
------------
To actually match only values with an exclamation mark, you have to
------------
-% git config-set section.key value '[!]'
+% git repo-config section.key value '[!]'
------------
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 694fee8f2..a51824986 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -84,9 +84,6 @@ gitlink:git-checkout-index[1]::
gitlink:git-commit-tree[1]::
Creates a new commit object
-gitlink:git-config-set[1]::
- Set options in .git/config.
-
gitlink:git-hash-object[1]::
Computes the object ID from a file.
@@ -111,6 +108,9 @@ gitlink:git-prune-packed[1]::
gitlink:git-read-tree[1]::
Reads tree information into the directory index
+gitlink:git-repo-config[1]::
+ Get and set options in .git/config.
+
gitlink:git-unpack-objects[1]::
Unpacks objects out of a packed archive.