Skip to content

Latest commit

 

History

History
90 lines (64 loc) · 3.47 KB

lab_01.md

File metadata and controls

90 lines (64 loc) · 3.47 KB

Lab 1

Objectives

Students:

  • are set up with:
    • Git
    • VSCode
    • Terminal
  • understand how to work with Git repositories

Setup

We're going to go through and make sure you have the following installed / set up:

  • On Windows, there are a lot of options in the installer - safe to stick to the defaults.
  • Set global name and email
git config --global user.name "Mona Lisa"
git config --global user.email "[email protected]"

If you did all the following:

…then you should be all set.


Add avatar to bio

  1. Clone the repository.
  2. Create a branch.
  3. Add a profile photo / avatar under img/people/.
    • Keep them around 200px tall, please.
  4. Add the image to your Markdown file.
  5. Commit
  6. Check out the Source Control Graph.
  7. Push
  8. Create a pull request.
  9. Check out the repository's network graph.
  10. Review the pull request of the person next to you.
  11. Merge

Sign the Attendance List

  1. Checkout to the default branch
  2. Fetch and Pull to retrieve new work done by other people and merge it with your local bracnh
  3. View other people's profile pictures
  4. Create a branch
  5. Add your name to the attendance list
  6. Commit, push and create a pull request
  7. Review the pull request of the person next to you.
  8. Merge

Git concepts/terms/workflow

  • Repository
  • Clone
  • Branch
  • Commit
  • History
  • Push
  • Review
  • Merge
  • Fork

Slides visualizing Git history