summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e8b404c)
raw | patch | inline | side by side (parent: e8b404c)
author | Lars Hjemli <hjemli@gmail.com> | |
Thu, 17 Apr 2008 22:27:08 +0000 (00:27 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 21 Apr 2008 01:16:46 +0000 (18:16 -0700) |
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-branch.txt | patch | blob | history |
index 95e9d0d0be39de4b57fab2a43985720ae0d1c216..c824d887420754f98db0553a006865d31d01cf1d 100644 (file)
--no-track::
Ignore the branch.autosetupmerge configuration variable.
+--contains <commit>::
+ Only list branches which contain the specified commit.
+
+--merged::
+ Only list branches which are fully contained by HEAD.
+
+--no-merged::
+ Do not list branches which are fully contained by HEAD.
+
<branchname>::
The name of the branch to create or delete.
The new branch name must pass all checks defined by
easier to use the git checkout command with its `-b` option to create
a branch and check it out with a single command.
+The options `--contains`, `--merged` and `--no-merged` serves three related
+but different purposes:
+
+- `--contains <commit>` is used to find all branches which will need
+ special attention if <commit> were to be rebased or amended, since those
+ branches contain the specified <commit>.
+
+- `--merged` is used to find all branches which can be safely deleted,
+ since those branches are fully contained by HEAD.
+
+- `--no-merged` is used to find branches which are candidates for merging
+ into HEAD, since those branches are not fully contained by HEAD.
Author
------