Documentation/git-branch: add default for --contains

Indicate that the commit parameter of --contains defaults to HEAD.

Signed-off-by: Vincent van Ravesteijn <vfr@lyx.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Vincent van Ravesteijn 2012-03-06 10:32:45 +01:00 committed by Junio C Hamano
parent ebab989420
commit f36ed6db69
1 changed files with 3 additions and 2 deletions

View File

@ -163,8 +163,9 @@ start-point is either a local or remote-tracking branch.
Open an editor and edit the text to explain what the branch is Open an editor and edit the text to explain what the branch is
for, to be used by various other commands (e.g. `request-pull`). for, to be used by various other commands (e.g. `request-pull`).


--contains <commit>:: --contains [<commit>]::
Only list branches which contain the specified commit. Only list branches which contain the specified commit (HEAD
if not specified).


--merged [<commit>]:: --merged [<commit>]::
Only list branches whose tips are reachable from the Only list branches whose tips are reachable from the