This lab was an overview of HTML5 CSS standards, as well as an introduction to version control with Git. In this lab, we had to:
lab2.html
file to be compliant with HTML5.div
s based on id. CSS file was also validated.file
(which was added with git add
), use git rm --cached file
. git config --list
.git log
.git reset HEAD file
, since git rm
will unstage and untrack. latest
, do:
andgit branch latest
git checkout latest
or
git checkout -b latest
git branch
will display the current branch.
master
branch with git checkout
, and when you need to merge one branch with another, say latest onto master, one can run git merge latest
.git branch -d latest
I had already used git quite a bit before this lab, having learnt how to use it in tandem with Java during the summer. Therefore, the lab was quite straightforward to follow.
I did learn some intricacies with managing tracked files, which were nice to know and may come in useful later, especially when one only has access to a command line.
Back