summaryrefslogtreecommitdiffstats
path: root/git-branch.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-12-02 18:56:34 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-12-02 18:56:34 +0000
commit0a16b951976d8a06e3f3ba341c2c2eef7541a65e (patch)
tree78812e04b178db2dc20aef470948f37232070130 /git-branch.txt
parent976c0c4bb0c624f3f844aa4134aaf15b0703d75c (diff)
downloadgit-htmldocs-0a16b951976d8a06e3f3ba341c2c2eef7541a65e.tar.gz
Autogenerated HTML docs for v1.5.3.7-966-g1c46
Diffstat (limited to 'git-branch.txt')
-rw-r--r--git-branch.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/git-branch.txt b/git-branch.txt
index f87b6968b..d3f21c797 100644
--- a/git-branch.txt
+++ b/git-branch.txt
@@ -10,6 +10,7 @@ SYNOPSIS
[verse]
'git-branch' [--color | --no-color] [-r | -a]
[-v [--abbrev=<length> | --no-abbrev]]
+ [--contains <commit>]
'git-branch' [--track | --no-track] [-l] [-f] <branchname> [<start-point>]
'git-branch' (-m | -M) [<oldbranch>] <newbranch>
'git-branch' (-d | -D) [-r] <branchname>...
@@ -20,6 +21,9 @@ With no arguments given a list of existing branches
will be shown, the current branch will be highlighted with an asterisk.
Option `-r` causes the remote-tracking branches to be listed,
and option `-a` shows both.
+With `--contains <commit>`, shows only the branches that
+contains the named commit (in other words, the branches whose
+tip commits are descendant of the named commit).
In its second form, a new branch named <branchname> will be created.
It will start out with a head equal to the one given as <start-point>.