mirror of
https://github.com/git/git.git
synced 2024-10-28 12:59:41 +01:00
rev-parse: document --is-inside-git-dir
Signed-off-by: Matthias Lederhofer <matled@gmx.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
d44c782bbd
commit
4faac2468d
1 changed files with 4 additions and 0 deletions
|
@ -89,6 +89,10 @@ OPTIONS
|
|||
--git-dir::
|
||||
Show `$GIT_DIR` if defined else show the path to the .git directory.
|
||||
|
||||
--is-inside-git-dir::
|
||||
When the current working directory is below the repository
|
||||
directory print "true", otherwise "false".
|
||||
|
||||
--short, --short=number::
|
||||
Instead of outputting the full SHA1 values of object names try to
|
||||
abbreviate them to a shorter unique name. When no length is specified
|
||||
|
|
Loading…
Reference in a new issue