diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-05-21 04:02:14 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-05-21 04:02:14 -0700 |
commit | 7f3ed824a4ec15fc9725a4992b399ea4364c5adb (patch) | |
tree | 7604efbf6f1b7511449f87a937658d6efa53ddcc /Documentation | |
parent | Merge branch 'em/checkout-orphan' (diff) | |
parent | Complete prototype of git_config_from_parameters() (diff) | |
download | tgif-7f3ed824a4ec15fc9725a4992b399ea4364c5adb.tar.xz |
Merge branch 'ar/config-from-command-line'
* ar/config-from-command-line:
Complete prototype of git_config_from_parameters()
Use strbufs instead of open-coded string manipulation
Allow passing of configuration parameters in the command line
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt index c4024d0edd..1a6ba87823 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -12,6 +12,7 @@ SYNOPSIS 'git' [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path] [-p|--paginate|--no-pager] [--no-replace-objects] [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE] + [-c name=value] [--help] COMMAND [ARGS] DESCRIPTION @@ -228,6 +229,12 @@ displayed. See linkgit:git-help[1] for more information, because `git --help ...` is converted internally into `git help ...`. +-c <name>=<value>:: + Pass a configuration parameter to the command. The value + given will override values from configuration files. + The <name> is expected in the same format as listed by + 'git config' (subkeys separated by dots). + --exec-path:: Path to wherever your core git programs are installed. This can also be controlled by setting the GIT_EXEC_PATH |