This repository is used for homework submission.
To protect your rights, please create a pull request (PR) before the demo and make sure the TA merges your PR after the demo.
For those who are familiar with git.
- TA creates a branch named your student ID.
- You fork this repo.
- Base on the
<student id>
branch, you do your labs and put your code in the forked repo. - Create a PR to the
<student id>
branch in this repo to submit the homework. - TA merges the PR as a proof that you have demo the lab.
Fork the repository on Github.
Uncheck the “Copy the main
branch only”.
If you don’t want to see a lot of redundant branches in the forked repo, keep the checkbox checked and follow the guide to fetch your own branch.
Clone the forked repo and switch to the branch named your student id. If you cannot find your branch, ask TAs for help.
git clone <repo url>
cd osc2023
git checkout --track origin/<student id>
Write down the following info in your README.md
(or README.org
, README.rst
etc.)
- Github account name
- Student ID
- Your name
- Any other information you want
Here is an example README.md.
Design and implement your kernel in the forked repository.
Make good use of
.gitignore
. In the git history, we do not want to see binaries, objective files, __MACOSX, python caches, super large test files, or any files that can be compiled from your source code.
Create a Github pull request before your demo. Once the PR is created, you can always push additional commits to your forked repo before the PR is merged. The changes will automatically appear within the PR.
- Click the
New pull request
buttom in your repo. - Choose the branch with your student ID as the base branch.
- Type a title and some information about the PR.
Here is a PR example.
As long as you meet the above requirements and the PR can be merged without conflicts, we do not care about what the forked repo look like. You can rename your branch, change the default branch, or do whatever you want.