reading-notes

Class 3

Back to home page

In this class we learned about The cloud and Making revisions. We also learned alot about git and uploading our work from vscode to github.

Background of Git

So what is Git?

To make these saves to your repositories-

  1. Find your project in the terminal and type “git status”, this will initiate a sweep to see what files are modified and not uploaded yet to Github. Any file in red will need to be saved.
  2. Type in the terminal “git add (name of file)”, this will add the file to be staged to be commited for the snapshot. An easier way to save all your files is typing in the terminal (git add .) this will stage all unsaved changes.
  3. Next type in the terminal git commit -m. You will then need to put a message of what is being updated in quotation marks (“”) after -m.
  4. Once everything is saved in a snapshot, upload your work to Github by using the command git push origin main. Your website should be updated automatically through Github after that! Visual