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>
Philip Oakley committed
Sep 13, 2013 at 22:23 UTC
431260cc8dda69336ced159c39d10007c9584e58
1 file changed
+4
Documentation/gitcli.txt
+4
@@ -58,6 +58,10 @@ the paths in the index that match the pattern to be checked out to your
58
working tree. After running `git add hello.c; rm hello.c`, you will _not_
59
see `hello.c` in your working tree with the former, but with the latter
60
you will.
61
++
62
+Just as the filesystem '.' (period) refers to the current directory,
63
+using a '.' as a repository name in Git (a dot-repository) is a relative
64
+path for your current repository.
65
66
Here are the rules regarding the "flags" that you should follow when you are
67
scripting Git: