1 git-show-branches-script(1)
2 ===========================
7 git-show-branches-script - Show branches and their commits.
11 'git show-branches <reference>...'
15 Shows the head commits from the named <reference> (or all refs under
16 $GIT_DIR/refs/heads), and displays concise list of commit logs
17 to show their relationship semi-visually.
22 Name of the reference under $GIT_DIR/refs/heads/.
27 Given N <references>, the first N lines are the one-line
28 description from their commit message. The branch head that is
29 pointed at by $GIT_DIR/HEAD is prefixed with an asterisk '*'
30 character while other heads are prefixed with a '!' character.
32 Following these N lines, one-line log for each commit is
33 displayed, indented N places. If a commit is on the I-th
34 branch, the I-th indentation character shows a '+' sign;
35 otherwise it shows a space.
37 The following example shows three branches, "pu", "master" and
40 * [pu] Add cheap local clone '-s' flag to git-clone-script
41 ! [master] Documentation updates.
42 ! [rc] Merge master into rc
43 + Add cheap local clone '-s' flag to git-clone-script
44 + Alternate object pool mechanism updates.
45 + Audit rev-parse users.
46 ++ Documentation updates.
47 + Merge master into rc
48 +++ [PATCH] plug memory leak in diff.c::diff_free_filepair()
50 These three branches all forked from a common commit, "[PATCH]
51 plug memory leak...", and "rc" has one commit ahead of it. The
52 "master" branch has one different commit that is also shared by
53 "pu" branch, and "pu" branch has three more commits on top of
59 Written by Junio C Hamano <junkio@cox.net>
64 Documentation by Junio C Hamano.
69 Part of the link:git.html[git] suite