X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-show-branch.txt;h=ffe64d83533cb60d8a54bd33b784fda52091f9f2;hb=80248b2e4888a05adcb903f53af84ee513d22245;hp=c6c97b21c320ce7fa6533bfc153f6fac7d45a7c0;hpb=f865a2ad981f72423aa1c19412ce57c543801957;p=git.git diff --git a/Documentation/git-show-branch.txt b/Documentation/git-show-branch.txt index c6c97b21..ffe64d83 100644 --- a/Documentation/git-show-branch.txt +++ b/Documentation/git-show-branch.txt @@ -7,23 +7,40 @@ git-show-branch - Show branches and their commits. SYNOPSIS -------- -'git-show-branch [--all] [--heads] [--tags] [--more= | --list | --independent | --merge-base] [--no-name | --sha1-name] ...' +'git-show-branch [--all] [--heads] [--tags] [--topo-order] [--more= | --list | --independent | --merge-base] [--no-name | --sha1-name] [ | ]...' DESCRIPTION ----------- -Shows the head commits from the named (or all refs under -$GIT_DIR/refs/heads), and displays concise list of commit logs -to show their relationship semi-visually. + +Shows the commit ancestry graph starting from the commits named +with s or s (or all refs under $GIT_DIR/refs/heads +and/or $GIT_DIR/refs/tags) semi-visually. + +It cannot show more than 29 branches and commits at a time. + OPTIONS ------- -:: - Name of the reference under $GIT_DIR/refs/. +:: + Arbitrary extended SHA1 expression (see `git-rev-parse`) + that typically names a branch HEAD or a tag. + +:: + A glob pattern that matches branch or tag names under + $GIT_DIR/refs. For example, if you have many topic + branches under $GIT_DIR/refs/heads/topic, giving + `topic/*` would show all of them. --all --heads --tags:: Show all refs under $GIT_DIR/refs, $GIT_DIR/refs/heads, and $GIT_DIR/refs/tags, respectively. +--topo-order:: + By default, the branches and their commits are shown in + reverse chronological order. This option makes them + appear in topological order (i.e., descendant commits + are shown before their parents). + --more=:: Usually the command stops output upon showing the commit that is the common ancestor of all the branches. This