Yesterday | Today |
---|---|
|
|
git - a version control system. Stores history of files.
repository - What git manages. A collection of files with their history.
Github - a web site that hosts git repositories
Codespace - a virtual computer that has access to your git repository
commit - v. to add to the history in your repository; n. a particular change in the history of your repository
Easiest way, from any page on the class website, click the Github icon () in the toolbar.
Click the big green Code button and then click the name of your codespace.
Now right click on the file run
in the projects/first-web
folder and choose “Open in Integrated Terminal”. In the new terminal type:
./run
At the bottom right of the screen, this dialog should pop up like yesterday:
Choose “Open in browser”.
index.html
Now navigate to first-web/public/index.html
in the file explorer and click on it to open it in an editor.
If you haven’t already, make a change so your page says something other than “Hello, world!”.
Click the version control icon in the sidebar to open the version control view.
Click the + next to index.html
to say you want to add those changes.
Type a brief message about the change in the message box.
Click the down arrow next to the commit button.
Click the “Publish branch” button.
Go back to your Github repository.
I’ll demonstrate how to navigate there live.