File tree 1 file changed +13
-0
lines changed
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 29
29
* Halts if the remote history diverged from your local history.
30
30
* `git remote`
31
31
* Configure/list remote repository URLs (default `origin`).
32
+ * `git branch -r`
33
+ * List remote branches, prefixed with the remote name.
32
34
33
35
~~~SECTION:handouts~~~
34
36
51
53
* Edit `README.md` and add a note on `git push`
52
54
* Add and commit the changes
53
55
* Push the changes
56
+ * Bonus:
57
+ * List all remote branches with `git branch -r`
54
58
55
59
~~~SECTION:handouts~~~
56
60
73
77
* Add and commit the changes
74
78
* Push the changes
75
79
80
+ ## Bonus:
81
+
82
+ * List all remote branches with `git branch -r`
83
+
76
84
!SLIDE supplemental solutions
77
85
# Lab ~~~SECTION:MAJOR~~~.~~~SECTION:MINOR~~~: Proposed Solution
78
86
****
99
107
@@@ Sh
100
108
$ git push origin master
101
109
110
+ ### List remote branches
111
+
112
+ @@@ Sh
113
+ $ git branch -r
114
+
102
115
!SLIDE smbullets
103
116
# Lab ~~~SECTION:MAJOR~~~.~~~SECTION:MINOR~~~: Learn more about git fetch and git pull
104
117
You can’t perform that action at this time.
0 commit comments