diff options
| author | Junio C Hamano <gitster@pobox.com> | 2013-10-23 13:21:48 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2013-10-23 13:21:48 -0700 |
| commit | f92f068e76a272ac074ff9f693a3aaa84bb9e636 (patch) | |
| tree | 9729855621995424a1092ff71d76db5ab69e2ff9 /Documentation/gitcli.txt | |
| parent | Merge branch 'jc/prompt-upstream' (diff) | |
| parent | doc/cli: make "dot repository" an independent bullet point (diff) | |
| download | git-f92f068e76a272ac074ff9f693a3aaa84bb9e636.tar.gz git-f92f068e76a272ac074ff9f693a3aaa84bb9e636.zip | |
Merge branch 'po/dot-url'
Explain how '.' can be used to refer to the "current repository"
in the documentation.
* po/dot-url:
doc/cli: make "dot repository" an independent bullet point
config doc: update dot-repository notes
doc: command line interface (cli) dot-repository dwimmery
Diffstat (limited to 'Documentation/gitcli.txt')
| -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 7d54b77f3c..3146413cce 100644 --- a/Documentation/gitcli.txt +++ b/Documentation/gitcli.txt @@ -59,6 +59,10 @@ 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 and means your current repository. + Here are the rules regarding the "flags" that you should follow when you are scripting Git: |
