Show More
@@ -42,7 +42,7 b' commit -m t3' | |||||
42 | echo b >> a |
|
42 | echo b >> a | |
43 | commit -a -m t4.1 |
|
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 | echo c > a |
|
46 | echo c > a | |
47 | echo a >> a |
|
47 | echo a >> a | |
48 | commit -a -m t4.2 |
|
48 | commit -a -m t4.2 | |
@@ -68,7 +68,7 b" commit -a -m 'add foo'" | |||||
68 | echo >> foo |
|
68 | echo >> foo | |
69 | commit -a -m 'change foo' |
|
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 | echo quux >> quux |
|
72 | echo quux >> quux | |
73 | git add quux |
|
73 | git add quux | |
74 | commit -a -m 'add quux' |
|
74 | commit -a -m 'add quux' | |
@@ -77,7 +77,7 b' echo bar > bar' | |||||
77 | git add bar |
|
77 | git add bar | |
78 | commit -a -m 'add bar' |
|
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 | echo baz > baz |
|
81 | echo baz > baz | |
82 | git add baz |
|
82 | git add baz | |
83 | commit -a -m 'add baz' |
|
83 | commit -a -m 'add baz' | |
@@ -89,7 +89,7 b" commit -m 'Octopus merge'" | |||||
89 | echo bar >> bar |
|
89 | echo bar >> bar | |
90 | commit -a -m 'change bar' |
|
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 | echo >> foo |
|
93 | echo >> foo | |
94 | commit -a -m 'change foo' |
|
94 | commit -a -m 'change foo' | |
95 |
|
95 |
General Comments 0
You need to be logged in to leave comments.
Login now