summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2007-03-08 00:53:38 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2007-03-08 00:53:38 -0800
commitbd1fc628b8d456bdaea3e10d435cf1e98bc5d8a8 (patch)
tree0c8847f5b24622dc1158edd48b3e0de1cd7f3255 /Documentation
parentMerge branch 'master' of git://repo.or.cz/git/fastimport (diff)
parentgit-config: document --rename-section, provide --remove-section (diff)
downloadtgif-bd1fc628b8d456bdaea3e10d435cf1e98bc5d8a8.tar.xz
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.