oslab

Lab 3

Switch to the master branch and create a new file and add some content to it.

git checkout master
vi <file-name>.txt

Stash the changes.

git stash save "Stash changes"

Create and switch to the feature-branch and apply the stashed changes.

git checkout -b feature-branch
git stash apply

Commit the changes

git commit -m "Added <file-name>.txt"

LAB 4

HOME