/Week-1

In class exercises for Week 1.

Primary LanguageHTML

Week 1: Github and Review

Using Github

  1. Create a github account
  2. Create a new repository
  3. Make a new file locally
  4. Initialize git repo locally
  5. Set remote to github repo
  6. Add file to repo
  7. Commit the changes
  8. Push the commits
  9. View code online

Fork this project

  1. Fork this repository
  2. Clone your fork
  3. Fix a bug
  4. Commit the fix
  5. Push the commit
  6. Submit a pull request

Use Github Pages

  1. Check out this explaination
  2. Create a new branch for your project locally called gh-pages
  3. Push that branch to github
  4. Go to your-github-name.github.io/your-project-name
  5. See if it works
  6. Rejoice

Bonus: Work with someone else

  1. Fork their repo from the first part
  2. Make a change
  3. Submit a pull request to them
  4. Get them to accept it