The main purpose of this repo is to gather in one place homeworks and improve our git skills.
-
Get your copy of the current one:
- fork current repo to your profile
- 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 likestudents/temu4/
. ❗❗❗ All changes you make must be in your folder
-
Add code with your task:
- make sure you are on
main
branch and have the latest updates (git checkout main
andgit 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 frommain
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
- make sure you have resolved all merge conflicts if any 🪲
- make sure you are on
-
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 📫.