Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-03-08 11:53:38 +0300
committerJunio C Hamano <junkio@cox.net>2007-03-08 11:53:38 +0300
commitbd1fc628b8d456bdaea3e10d435cf1e98bc5d8a8 (patch)
tree0c8847f5b24622dc1158edd48b3e0de1cd7f3255 /Documentation
parentf45fa2a073da591f3ac0b63900e07afa2dccee44 (diff)
parent118f8b241355b38cd21e644e8620d81f10190627 (diff)
Merge branch 'js/config-rename'
* js/config-rename: git-config: document --rename-section, provide --remove-section
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-config.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt
index 6624484fe1..68de5881bd 100644
--- a/Documentation/git-config.txt
+++ b/Documentation/git-config.txt
@@ -16,6 +16,8 @@ SYNOPSIS
'git-config' [--global] [type] --get-all name [value_regex]
'git-config' [--global] [type] --unset name [value_regex]
'git-config' [--global] [type] --unset-all name [value_regex]
+'git-config' [--global] [type] --rename-section old_name new_name
+'git-config' [--global] [type] --remove-section name
'git-config' [--global] -l | --list
DESCRIPTION
@@ -74,6 +76,12 @@ OPTIONS
--global::
Use global ~/.gitconfig file rather than the repository .git/config.
+--remove-section::
+ Remove the given section from the configuration file.
+
+--rename-section::
+ Rename the given section to a new name.
+
--unset::
Remove the line matching the key from config file.