- Open a terminal
- Change directory to where you want to put the repo (e.g.
cd SI206/Diss13
) git clone <url>
: copy from your GitHub repo to your local computer- Edit your file in VSCode and get something working
- Be sure that you are in this directory before doing any git commands
git add <file>
: add the file to what is being tracked for a commitgit commit -m "<message>"
: take a snapshot of your staged files – can undo back to thisgit push
: push from your local computer to your GitHub repo