Instructions for Students
- Each student will submit their R lab solutions using their own branch.
Follow these steps carefully:
Create a branch with your name Example:
git checkout -b yournameAdd your R script (solution) Save your R file in the appropriate folder (e.g.,
DescStats/). Use a clear filename such asyourname_DescStats.R.Commit and push your changes
git add yourname_DescStats.R git commit -m "Added Descriptive statistics solution - yourname" git push origin yournameCreate a Pull Request (PR)
- Go to the GitHub repository in your browser.
- Click Compare & pull request.
- Make sure the base branch is main, and your compare branch is yourname.
- Write a short description of your work.
- add a reviewer
- Submit the PR.
Important rules:
- Make changes only in your own branch.
- Do NOT edit or merge into the
mainbranch.- You can update your branch later by committing again and pushing.
Tip: Always pull updates from
mainbefore starting a new lab to stay in sync.git checkout main git pull origin main