oslab

Lab 2

Create a new branch called “feature-branch” and switch to it.

git checkout -b feature-branch

Add a new file to the new branch and commit them.

vi <new-file-name>.txt
git add <new-file-name>.txt
git commit -m "Add new file"

Switch back to the master branch.

git checkout master

Merge the feature-branch into the master branch.

git merge feature-branch

LAB 3

HOME