-
Notifications
You must be signed in to change notification settings - Fork 10
GitHub Tutorial
-9 edited this page Oct 15, 2024
·
1 revision
Goal: Create a repository for our assignments.
- For weeks 1-5, create one repository with separate folders for each week.
- For larger projects (Arduino, p5.js, etc.), create separate repositories.
- Sign into GitHub
- Click "New repository"
- Fill out project information
- Add a README file
- Click "Create repository"
- Click "Code"
- Select "Open with GitHub Desktop"
- GitHub Desktop app should open automatically
- If not, manually copy and paste the URL
- Locate your cloned folder
- Move your project files into this folder
- Observe changes in GitHub Desktop
- Write a commit message describing your changes
- Examples:
- "Added initial project files"
- "Updated code to load images"
- "Updated README"
- Click "Push origin" to upload your changes
- Commit frequently with clear, descriptive messages
- You can create multiple 'local' commits before pushing to GitHub when you are ready.
- Use the README for project documentation
- You can begin to explore GitHub pages to host your projects online: https://docs.github.com/en/pages/quickstart