A-level FE Homeworks 2022

The main purpose of this repo is to gather in one place homeworks and improve our git skills.

Steps to contribute 📄:

  1. Get your copy of the current one:

    • fork current repo to your profile Fork button
    • clone your forked repo to your local machine (git clone https://github.com/YOUR_USERNAME/a-level-fe-homeworks-2022)
    • open the current folder (cd ./a-level-fe-homeworks-2022)
    • connect this repository as an upstream to your local (git remote add upstream https://github.com/Temu4/a-level-fe-homeworks-2022.git)
    • in your local repository, add a folder with your github name inside students folder (if you don't have). For example, it should look like students/temu4/. ❗❗❗ All changes you make must be in your folder
  2. Add code with your task:

    • make sure you are on main branch and have the latest updates (git checkout main and git pull upstream main)
    • create a branch for your code (git checkout -b your-branch-name). Name it related with homework task, e.g. hw-1 for the 1th homework. All new branches must be created from main branch
    • create new folder for the current task using the same approach as for branching (for example, hw-1 for the 1th homework) and add your code there.
    • push your code to the remote repo (git push)
    • create new Pull Request (PR) throw GitHub web-interface PR
    • make sure you have resolved all merge conflicts if any 🪲
  3. When your PR was created:

    • ping me for a review in some messenger (tg or ista)
    • wait for a review (it can take some time)
    • make required changes, until your code will be approved and merged

Please don't hesitate to reach me out for any questions 📫.