summaryrefslogtreecommitdiff
path: root/Documentation/git-rev-parse.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-05-14 16:58:59 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-05-14 16:58:59 -0700
commita3fc9db4499a44fa00eeb2a7c46c08a749dd9bbf (patch)
tree722a91e1cb38d3518fe27d826f3c09a04b01289d /Documentation/git-rev-parse.txt
parentMerge branch 'lt/oneway' into next (diff)
parentAdd "--branches", "--tags" and "--remotes" options to git-rev-parse. (diff)
downloadtgif-a3fc9db4499a44fa00eeb2a7c46c08a749dd9bbf.tar.xz
Merge branch 'se/rev-parse' into next
* se/rev-parse: Add "--branches", "--tags" and "--remotes" options to git-rev-parse.
Diffstat (limited to 'Documentation/git-rev-parse.txt')
-rw-r--r--Documentation/git-rev-parse.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt
index 8b95df0c6e..ab896fcf83 100644
--- a/Documentation/git-rev-parse.txt
+++ b/Documentation/git-rev-parse.txt
@@ -67,6 +67,15 @@ OPTIONS
--all::
Show all refs found in `$GIT_DIR/refs`.
+--branches::
+ Show branch refs found in `$GIT_DIR/refs/heads`.
+
+--tags::
+ Show tag refs found in `$GIT_DIR/refs/tags`.
+
+--remotes::
+ Show tag refs found in `$GIT_DIR/refs/remotes`.
+
--show-prefix::
When the command is invoked from a subdirectory, show the
path of the current directory relative to the top-level