oslab

Lab 9

Switch to the master branch

git checkout master

Create a file, add some content and commit the changes

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

View a specific commit

git log --oneline
git show <commit-hash>
git log -n 1 <commit-hash>

LAB 10

HOME