This repo is prepared as a local GitHub-ready teaching repository. To share it with students, publish it to GitHub.
Suggested repository name:
ml_intro_practice
Suggested visibility:
Privateif the materials are still being revised.Publicif you want students outside your group to reuse them.
Check:
- no student names are included;
- no private research data are included;
- generated files such as
data/toy_tb_migration.csvare ignored by Git; - the README explains where students should start.
From the parent folder:
cd ml_intro_practice
git statusIf this is a new local repo:
git init
git add .
git commit -m "Create ML intro practice materials"Then create an empty GitHub repo online named ml_intro_practice.
Connect the local repo to GitHub:
git remote add origin https://github.com/YOUR_USERNAME/ml_intro_practice.git
git branch -M main
git push -u origin mainReplace YOUR_USERNAME with the correct GitHub username or organization.
If using GitHub Desktop:
- Choose
File->Add Local Repository. - Select the
ml_intro_practicefolder. - Publish the repository.
- Choose private or public visibility.
Before making the repo public, choose a license. If you want students and other mentors to freely reuse the materials, common options are:
- MIT License for code-focused repos;
- Creative Commons Attribution 4.0 for teaching materials;
- Creative Commons Attribution-NonCommercial 4.0 if you do not want commercial reuse.
If no license is added, others technically do not have permission to reuse the materials beyond normal viewing.