HOME | PROJECT STRUCTURE | ASSESSMENT RESULTS
Repository for assessing labs on the subject "Programming Fundamentals-1"
How to work with this repository and how assessment process will be organized:
- Fork this repository into your account. Here you need to press Fork or arrow near it and then option Create new fork.
Briefly, fork is a full copy of main repository located in your GitHub account, which allows to introduce changes into main repository easily. More information about forks can be found here
- Now you need to pull YOUR fork on your PC/laptop.
- On the page of your fork find button "Code", press it and copy provided URL
- In the console call
git clone https://github.com/<your nickname>/PF1_2022.git
. On this step you may be asked for some logins and passwords (or later). Great, the repo is on your machine now. - One more thing so far. You need to add path to the parent repository. It is called upstream repository:
git remote add upstream https://github.com/Igor-Sikorsky-IST-Hub/PF1_2022.git
Command
git remote -v
displays information about connection of your local repository to two repos: origin (the one you have) and the upstream (main parental).
- Prepare project structure
- For each LAB create a subdirectory in
reports
directory. See project structure for detailed instructions.
- Then based on
labs
branch create your own branchIn described commands:git checkout labs git checkout -b IA-XX/LAB-YY-TEAM-ZZ-Surname_Name
XX
is a group number,YY
is a lab number andZZ
is a team number. Also, don't forget to put your name and surname. If you divide work into multiple parts (each teammate will do small chunk of LAB) then each of you will be required to run these commands.
- Do your lab
- Commit your work
- The command
git status
will show you files, which you have changed, added, deleted during work on a task. - Then take all files which you want to commit and add them one by one:
or stage everything:
git add one.txt two.txt three.js
git add .
- After this do the commit
git commit -m "Lab_X: Description which begins from Verb"
- Send branch to your fork:
git push origin IA-XX/LAB-YY-TEAM-ZZ-Surname_Name
- The command
- Create pull-request
After previous command console should provide an URL by which you could create a PR (pull-request). If no, go to the main repository page and create PR manually. Press compare across forks. Then select your fork branch
IA-XX/LAB-YY-TEAM-ZZ-Surname_Name
intolabs
.
ATTENTION!: new lab = new branch = new PR
- When teacher will have time and will review your PRs, then he will either leave comments or merge PR into
labs
branch. If merged, your first part of the lab is done then all what is left is to answer on theory questions right on the lesson.