File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,21 @@ <h4>
145
145
README hello.rb more.txt test.txt
146
146
</ pre >
147
147
148
+ < h4 >
149
+ git branch -v
150
+ < small > see the last commit on each branch</ small >
151
+ </ h4 >
152
+
153
+ < p > If we want to see last commits on each branch
154
+ we can run < code > git branch -v</ code > to see them.</ p >
155
+
156
+ < pre >
157
+ < b > $ git branch -v</ b >
158
+ * < span class ="green "> master</ span > 54b417d fix javascript issue
159
+ development 74c111d modify component.json file
160
+ testing 62a557a update test scripts
161
+ </ pre >
162
+
148
163
< h4 >
149
164
git checkout -b (branchname)
150
165
< small > create and immediately switch to a branch</ small >
@@ -322,21 +337,6 @@ <h4>
322
337
switch to it so your class renaming changes are isolated. We're going to
323
338
change each instance of 'HelloWorld' to 'HiWorld'.</ p >
324
339
325
- < h4 >
326
- git branch -v
327
- < small > see the last commit on each branch</ small >
328
- </ h4 >
329
-
330
- < p > If we want to see last commits on each branch
331
- we can run < code > git branch -v</ code > to see them.</ p >
332
-
333
- < pre >
334
- < b > $ git branch -v</ b >
335
- * < span class ="green "> master</ span > 54b417d fix javascript issue
336
- development 74c111d modify component.json file
337
- testing 62a557a update test scripts
338
- </ pre >
339
-
340
340
< pre >
341
341
< b > $ git checkout -b change_class</ b >
342
342
Switched to a new branch 'change_class'
You can’t perform that action at this time.
0 commit comments