diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-09-20 14:03:37 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-20 14:03:37 -0700 |
commit | 79f4c7c3c9b29ade5534a5f1d01db2c67721d6a8 (patch) | |
tree | 9b5ca4ba3e78d726bab8e54347738b373d3a2eef /git.txt | |
parent | 211db89d8b8d8c3006e084f43dd6471163c7b998 (diff) | |
download | git-htmldocs-79f4c7c3c9b29ade5534a5f1d01db2c67721d6a8.tar.gz |
Autogenerated HTML docs for v1.8.4-474-g128a96
Diffstat (limited to 'git.txt')
-rw-r--r-- | git.txt | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -9,7 +9,7 @@ git - the stupid content tracker SYNOPSIS -------- [verse] -'git' [--version] [--help] [-c <name>=<value>] +'git' [--version] [--help] [-C <path>] [-c <name>=<value>] [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path] [-p|--paginate|--no-pager] [--no-replace-objects] [--bare] [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>] @@ -395,6 +395,20 @@ displayed. See linkgit:git-help[1] for more information, because `git --help ...` is converted internally into `git help ...`. +-C <path>:: + Run as if git was started in '<path>' instead of the current working + directory. When multiple `-C` options are given, each subsequent + non-absolute `-C <path>` is interpreted relative to the preceding `-C + <path>`. ++ +This option affects options that expect path name like `--git-dir` and +`--work-tree` in that their interpretations of the path names would be +made relative to the working directory caused by the `-C` option. For +example the following invocations are equivalent: + + git --git-dir=a.git --work-tree=b -C c status + git --git-dir=c/a.git --work-tree=c/b status + -c <name>=<value>:: Pass a configuration parameter to the command. The value given will override values from configuration files. |