Skip to content
Snippets Groups Projects
Commit f36ed6db authored by Vincent van Ravesteijn's avatar Vincent van Ravesteijn Committed by Junio C Hamano
Browse files

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


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

Signed-off-by: default avatarVincent van Ravesteijn <vfr@lyx.org>
Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
parent ebab9894
No related branches found
No related tags found
No related merge requests found
...@@ -163,8 +163,9 @@ start-point is either a local or remote-tracking branch. ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment