Lesson 2 Episode 1 — Get familiar with branches

Lesson 2 Episode 1 — Get familiar with branches#

Time: 5 min

Please perform the following tasks individually.

  1. Revise the commands we have used so far

  2. Create at least three branches with any name you like, using…

  3. Rename them and switch between them at your pleasure, using…

  4. Check the status message and the history in each branch you are in, using…

At the end:

  1. If you have a banch master, rename it as main

  2. Return to the branch main

  3. 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