Code

rev-parse: introduce --is-bare-repository
[git.git] / Documentation / git-rev-parse.txt
index 5fcec19a5616527228e3a7bd45a8d0b6fdb0b86c..c817d1614af01a11d60e50ab73f41ed2575f3d4a 100644 (file)
@@ -93,6 +93,9 @@ OPTIONS
        When the current working directory is below the repository
        directory print "true", otherwise "false".
 
+--is-bare-repository::
+       When the repository is bare 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