Skip to content

HackerUSA-CE/sdai-ic-d1-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Getting Gitty with It

Description 📄

This lab introduces you to how developers use git in their normal workflows.


Developer Objectives 📋

  1. Boilerplate Generation: Use shortcuts to generate HTML boilerplate.
  2. Review Basic HTML Tags: Insert header tags
  3. Practice Basic Git Commands: Commit your work with the add and commit commands

Codespaces Guidance 📄

Should you need guidance on how to fork, open, edit, and maintain your codespaces, please use the link below by right clicking and opening in a new tab.

GitHub Codespaces Guidance


ToDo list ✅

Attention: When you complete a task, put an x in the middle of the brackets to mark it off your ToDo list.

  1. Create an index.html file.
  2. In line 1, type an exclamation point, wait to see the prompt, then hit enter. Run git status. Observe the output.
  3. Stage your work with git add . Run git status once again to see the difference between unstaged work in step 2 and stage work now.
  4. Run git commit -m "Created index.html".
  5. Add a h1 header with the text "Hello World".
  6. run git add . to stage the work, and the commit it using git commit -m "Added main header".
  7. run git push origin main to push your work to your repository on github. Refresh the page and you should now see your index.html file with your additions on the page.

Solution codebase 👀

🛑 Only use this as a reference 🛑

💾 Not something to copy and paste 💾

Note: This lab references a solution file located here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages