Show More
@@ -42,7 +42,7 b' commit -m t3' | |||
|
42 | 42 | echo b >> a |
|
43 | 43 | commit -a -m t4.1 |
|
44 | 44 | |
|
45 |
git checkout -b other HEAD |
|
|
45 | git checkout -b other HEAD~ >/dev/null 2>/dev/null | |
|
46 | 46 | echo c > a |
|
47 | 47 | echo a >> a |
|
48 | 48 | commit -a -m t4.2 |
@@ -68,7 +68,7 b" commit -a -m 'add foo'" | |||
|
68 | 68 | echo >> foo |
|
69 | 69 | commit -a -m 'change foo' |
|
70 | 70 | |
|
71 |
git checkout -b Bar HEAD |
|
|
71 | git checkout -b Bar HEAD~ >/dev/null 2>/dev/null | |
|
72 | 72 | echo quux >> quux |
|
73 | 73 | git add quux |
|
74 | 74 | commit -a -m 'add quux' |
@@ -77,7 +77,7 b' echo bar > bar' | |||
|
77 | 77 | git add bar |
|
78 | 78 | commit -a -m 'add bar' |
|
79 | 79 | |
|
80 |
git checkout -b Baz HEAD |
|
|
80 | git checkout -b Baz HEAD~ >/dev/null 2>/dev/null | |
|
81 | 81 | echo baz > baz |
|
82 | 82 | git add baz |
|
83 | 83 | commit -a -m 'add baz' |
@@ -89,7 +89,7 b" commit -m 'Octopus merge'" | |||
|
89 | 89 | echo bar >> bar |
|
90 | 90 | commit -a -m 'change bar' |
|
91 | 91 | |
|
92 |
git checkout -b Foo HEAD |
|
|
92 | git checkout -b Foo HEAD~ >/dev/null 2>/dev/null | |
|
93 | 93 | echo >> foo |
|
94 | 94 | commit -a -m 'change foo' |
|
95 | 95 |
General Comments 0
You need to be logged in to leave comments.
Login now