Lesson 2 Episode 1 — Get familiar with branches#
Time: 5 min
Please perform the following tasks individually.
Revise the commands we have used so far
Create at least three branches with any name you like, using…
Rename them and switch between them at your pleasure, using…
Check the status message and the history in each branch you are in, using…
At the end:
If you have a banch
master
, rename it asmain
Return to the branch
main
Delete all other branches, using…
Formulate your explanation of what you have observed. The following questions are two sides of the same coin:
What did you ask Git to do?
What did Git do for you?
Instructor’s Note
DO NOT change content and name of the file
DO NOT stage and commit changes