We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6da0878 commit c9bf7beCopy full SHA for c9bf7be
Documentation/git-rev-parse.txt
@@ -89,6 +89,10 @@ OPTIONS
89
--git-dir::
90
Show `$GIT_DIR` if defined else show the path to the .git directory.
91
92
+--is-inside-git-dir::
93
+ Return "true" if we are in the git directory, otherwise "false".
94
+ Some commands require to be run in a working directory.
95
+
96
--short, --short=number::
97
Instead of outputting the full SHA1 values of object names try to
98
abbreviate them to a shorter unique name. When no length is specified
0 commit comments