@@ -968,8 +968,8 @@ $ git show-branch master mybranch
968968* [master] Merge work in mybranch
969969 ! [mybranch] Some work.
970970--
971- + [master] Merge work in mybranch
972- + + [mybranch] Some work.
971+ - [master] Merge work in mybranch
972+ * + [mybranch] Some work.
973973------------------------------------------------
974974
975975The first two lines indicate that it is showing the two branches
@@ -979,7 +979,8 @@ top-of-the-tree commits, you are currently on `master` branch
979979the later output lines is used to show commits contained in the
980980`master` branch, and the second column for the `mybranch`
981981branch. Three commits are shown along with their log messages.
982- All of them have plus `+` characters in the first column, which
982+ All of them have non blank characters in the first column (`*`
983+ shows an ordinary commit on the current branch, `.` is a merge commit), which
983984means they are now part of the `master` branch. Only the "Some
984985work" commit has the plus `+` character in the second column,
985986because `mybranch` has not been merged to incorporate these
@@ -1024,7 +1025,7 @@ $ git show-branch master mybranch
10241025! [master] Merge work in mybranch
10251026 * [mybranch] Merge work in mybranch
10261027--
1027- ++ [master] Merge work in mybranch
1028+ -- [master] Merge work in mybranch
10281029------------------------------------------------
10291030
10301031
@@ -1199,9 +1200,9 @@ $ git show-branch --more=3 master mybranch
11991200! [master] Merge work in mybranch
12001201 * [mybranch] Merge work in mybranch
12011202--
1202- ++ [master] Merge work in mybranch
1203- ++ [master^2] Some work.
1204- ++ [master^] Some fun.
1203+ -- [master] Merge work in mybranch
1204+ +* [master^2] Some work.
1205+ +* [master^] Some fun.
12051206------------
12061207
12071208Remember, before running `git merge`, our `master` head was at
@@ -1223,8 +1224,8 @@ $ git show-branch
12231224 ! [mybranch] Some work.
12241225--
12251226 + [mybranch] Some work.
1226- + [master] Some fun.
1227- + + [mybranch^] New day.
1227+ * [master] Some fun.
1228+ * + [mybranch^] New day.
12281229------------
12291230
12301231Now we are ready to experiment with the merge by hand.
@@ -1743,8 +1744,8 @@ $ git show-branch
17431744 + [diff-fix] Fix rename detection.
17441745 + [diff-fix~1] Better common substring algorithm.
17451746+ [commit-fix] Fix commit message normalization.
1746- + [master] Release candidate #1
1747- +++ [diff-fix~2] Pretty-print messages.
1747+ * [master] Release candidate #1
1748+ ++* [diff-fix~2] Pretty-print messages.
17481749------------
17491750
17501751Both fixes are tested well, and at this point, you want to merge
@@ -1764,13 +1765,13 @@ $ git show-branch
17641765 ! [diff-fix] Fix rename detection.
17651766 * [master] Merge fix in commit-fix
17661767---
1767- + [master] Merge fix in commit-fix
1768- + + [commit-fix] Fix commit message normalization.
1769- + [master~1] Merge fix in diff-fix
1770- ++ [diff-fix] Fix rename detection.
1771- ++ [diff-fix~1] Better common substring algorithm.
1772- + [master~2] Release candidate #1
1773- +++ [master~3] Pretty-print messages.
1768+ - [master] Merge fix in commit-fix
1769+ + * [commit-fix] Fix commit message normalization.
1770+ - [master~1] Merge fix in diff-fix
1771+ +* [diff-fix] Fix rename detection.
1772+ +* [diff-fix~1] Better common substring algorithm.
1773+ * [master~2] Release candidate #1
1774+ ++* [master~3] Pretty-print messages.
17741775------------
17751776
17761777However, there is no particular reason to merge in one branch
@@ -1797,12 +1798,12 @@ $ git show-branch
17971798 ! [diff-fix] Fix rename detection.
17981799 * [master] Octopus merge of branches 'diff-fix' and 'commit-fix'
17991800---
1800- + [master] Octopus merge of branches 'diff-fix' and 'commit-fix'
1801- + + [commit-fix] Fix commit message normalization.
1802- ++ [diff-fix] Fix rename detection.
1803- ++ [diff-fix~1] Better common substring algorithm.
1804- + [master~1] Release candidate #1
1805- +++ [master~2] Pretty-print messages.
1801+ - [master] Octopus merge of branches 'diff-fix' and 'commit-fix'
1802+ + * [commit-fix] Fix commit message normalization.
1803+ +* [diff-fix] Fix rename detection.
1804+ +* [diff-fix~1] Better common substring algorithm.
1805+ * [master~1] Release candidate #1
1806+ ++* [master~2] Pretty-print messages.
18061807------------
18071808
18081809Note that you should not do Octopus because you can. An octopus
0 commit comments