diff options
author | Philip Oakley <philipoakley@iee.org> | 2013-09-13 22:23:17 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-13 15:29:59 -0700 |
commit | 431260cc8dda69336ced159c39d10007c9584e58 (patch) | |
tree | bc9a5a201fdc1d92804f6c976c93bdc48216d04c | |
parent | b3e7d24ca19d841eb2c5c7fce7919ebb5d370a6f (diff) | |
download | git-431260cc8dda69336ced159c39d10007c9584e58.tar.gz |
doc: command line interface (cli) dot-repository dwimmery
The Git cli will accept dot '.' (period) as the relative path
to the current repository. Explain this action.
Signed-off-by: Philip Oakley <philipoakley@iee.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | Documentation/gitcli.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/gitcli.txt b/Documentation/gitcli.txt index 9ac5088acd..1672842318 100644 --- a/Documentation/gitcli.txt +++ b/Documentation/gitcli.txt @@ -58,6 +58,10 @@ the paths in the index that match the pattern to be checked out to your working tree. After running `git add hello.c; rm hello.c`, you will _not_ see `hello.c` in your working tree with the former, but with the latter you will. ++ +Just as the filesystem '.' (period) refers to the current directory, +using a '.' as a repository name in Git (a dot-repository) is a relative +path for your current repository. Here are the rules regarding the "flags" that you should follow when you are scripting Git: |